I have a WOText field and a WOCheckbox in a form. The WOText is set to a default value and already saved to the database. When the user wants to make the WOText box inactive, she clicks the checkbox. This is tied to the "disabled" attribute in the WOText.

All is fine with that. However, when the WOText is disabled, the change saved to the database, the default text in the WOText still appears. But, when the WOCheckbox is reactivated, and the WOText is redisplayed after a save to the database, the WOText is now empty and the entry in the database is NULL.

Why does re-enabling the WOText field null the data? How do you avoid this behavior?

Regards,

Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to