Re: takeFormValuesFromRequest problem
Re: takeFormValuesFromRequest problem
- Subject: Re: takeFormValuesFromRequest problem
- From: Juergen Lorenz Simon <email@hidden>
- Date: Wed, 14 May 2008 14:15:15 +0200
On 14.05.2008, at 13:54, Mike Schrag wrote:
It should. The javascript is only adjusting the display:none or
otherwise.
Wait, so you're saying it's display:none and you're making NO
structural changes to the form on the server side and it's still
being passed a null? I'm calling shenanigans :) That doesn't make
sense at all.
How about losing the Javascript and give the checkbox an
onchange=this.form.submit(). You could check if only the
checkbox changed and use a conditional to present the different form.
This way server-side and client-side structure
would be in sync all the time.
The alternative is to use more Javascript to fill a hidden form value
with "company" or "user" and evaluate the request
based on that.
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden