Use of Default Value property



Hi, I have a form in which I have a combo box in which if a user selects
"Yes", the corresponding text box becomes visible and the default value
(which was set up at the table level) reads "Enter details here". If the
combo box selection is "No", then the box goes away, which is what I want to
happen. However, if a user selects "Yes", enters some details into the text
box, but then realizes they've made an error, and goes back and selects "No",
then the corresponding text box retains the values they started entering
instead of resetting back to the default value of "Enter details here". Is
there a way to reset this using code within the combo box's After Update
event and the DefaultValue property?

Let me know if you need more detail...thanks in advance for your help.

--
Message posted via http://www.accessmonster.com
.



Relevant Pages

  • Re: cant reset a hidden field in form
    ... "Reset this form" and that is what the browser does. ... Resetting the form should set all values back to their initial value ... stored in the DOM defaultValue property, ... Resetting a form should set all controls back to their defaultValue. ...
    (comp.lang.javascript)
  • Re: cant reset a hidden field in form
    ... "Reset this form" and that is what the browser does. ... Resetting the form should set all values back to their initial value ... stored in the DOM defaultValue property, ... Resetting a form should set all controls back to their defaultValue. ...
    (comp.lang.javascript)
  • Re: SMS_INVENTORY_DATA_LOADER
    ... How does one go about resetting the site? ... Select modify or reset the current installation. ... Computacenter Belgium ... Prev by Date: ...
    (microsoft.public.sms.admin)
  • MICS 6.1
    ... digital T1/PRI. ... I was able to clear this on one phone by resetting it. ... I reset the entire system ... Prev by Date: ...
    (comp.dcom.sys.nortel)
  • Re: Stupid registration question
    ... does resetting the serial number (PID-dealio) let you reset the ... Prev by Date: ...
    (microsoft.public.mac.office)

Loading