Re: 'Clear Form' button and Popup
Re: 'Clear Form' button and Popup
- Subject: Re: 'Clear Form' button and Popup
- From: Chuck Hill <email@hidden>
- Date: Tue, 31 Aug 2004 08:28:56 -0700
On Aug 31, 2004, at 4:26 AM, Jeremy Matthews wrote:
I setup a simple reset button for my basic app, which works
wonderfully (clears the form fields out), but only works before saving
changes to the database. However, it refuses to work afterwards...is
there a way to create a "clear form" button that will clear a specific
form before and/or after an object has been inserted by command?
I'm not clear on what you are doing. The reset button only clears the
values of the form fields in the browser. It does not send anything to
the web app. If you click Reset and then click Save it should clear
all the corresponding values in the object. The subsequent save to the
database may fail if you have validation rules prohibiting null values.
Also, all fields within my form are being inserted into the DB, with
the exception of the popup list. It generates the list correctly
(displays all items), and has been bound to the <list> element
correctly, as it shows all elements. It is also bound to the
<selection> element, by way of a string variable held created within
EOM. Basically, it is a list of cities to choose from, whereas the
selection from the user is submitted into the DB.
What does " bound to the <selection> element, by way of a string
variable held created within EOM" mean? Perhaps posting your bindings
would help us understand what is wrong.
Chuck
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.