# A default value of "0" in a inputfield box?

**URL:** <https://forum.kirupa.com/t/a-default-value-of-0-in-a-inputfield-box/141575>\
**Category:** Uncategorized\
**Created:** [March 21, 2005, 4:41pm UTC](https://forum.kirupa.com/t/a-default-value-of-0-in-a-inputfield-box/141575 "2005-03-21T16:41:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hematite](https://avatars.discourse-cdn.com/v4/letter/h/848f3c/32.png) [@hematite](https://forum.kirupa.com/u/hematite)\
**Post date:** [March 21, 2005, 4:41pm UTC](https://forum.kirupa.com/t/a-default-value-of-0-in-a-inputfield-box/141575/1 "2005-03-21T16:41:10Z")

</div>

Hi folks,

Can you help me please? I have created a form in flash and like in VB there are properties to set a NULL value as default. Can anyone help me to tell me what bit of actionscript I need to use to do this and where do I hold the variable?

So that in my form is the user deletes the value out the inputfield and hits submit it still leaves a value of 0 in the box?

Thanks for any help guys!
