RE: Getting data from a disabled form field

2004-02-12 Thread Andrew Hill
) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 21:46 To: Struts Users Mailing List Subject: Re: Getting data from a disabled form field i believe that disabled form elements return null. I hate to say it, but you could have the uid stored as a hidden

RE: Getting data from a disabled form field

2004-02-12 Thread Angharad Stapleton
Try using Javascript to re-enable the fields when the form is submitted, this allows them to be passed through to the form as normal. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 13:46 To: Struts Users Mailing List Subject: Re: Getting data from a

Re: Getting data from a disabled form field

2004-02-12 Thread Mark Lowe
i believe that disabled form elements return null. I hate to say it, but you could have the uid stored as a hidden variable in the case of the non admin user but still display a text field with the value displayed. On 12 Feb 2004, at 14:31, Arne Brutschy wrote: Hi, I have a problem with disab

RE: Getting data from a disabled form field

2004-02-12 Thread Andrew Hill
Yep. The browser doesnt submit a value for the field if its disabled. If your using a request scoped actionform then you will either need to reload its value from or add an additional hidden field on the form to submit the value. If its a session scoped form, just make sure that you dont clear it