Hello Lachlan;
I tend to keep the state of the toggle in the component controller
rather than the EO and then take action on the state of the toggle in
a takeValuesFromRequest(..) override.
cheers.
got a login form that allows either a company or person to login.
The form looks like so:
[ ] is company
Company Name: [........]
First Name: [........]
Last Name: [........]
Email: [........]
Password: [........]
company name is initially hidden. Javascript toggles the visibility
of companyName vs first/lastName.
Okay - the problem:
when the form is submitted if iscompany is ticked, the company name
is set to null. i.e., validateTakeValueForKey is given null - even
though I can see that the value is there in the request's formValues.
How do we debug this again?
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]