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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to