RE: Conditionally disable form input.

2004-11-20 Thread Daffin, Miles (Company IT)
he value of some form bean property to determine whether to > enable or disable the control. > > > -Original Message- > From: Paul McCulloch [mailto:[EMAIL PROTECTED] > Sent: 19 November 2004 16:34 > To: 'Struts Users Mailing List' > Subject: RE: Conditional

RE: Conditionally disable form input.

2004-11-19 Thread McDonnell, Colm (MLIM)
er to enable or disable the control. -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 19 November 2004 16:34 To: 'Struts Users Mailing List' Subject: RE: Conditionally disable form input. What you are suggesting will only work if the form is subm

RE: Conditionally disable form input.

2004-11-19 Thread Paul McCulloch
What you are suggesting will only work if the form is submitted after the checkbox is checked - probably not what you or the user would expect to happen. I'd try and use JavaScript to achieve the same functionality on the client - the relevant event on the checkbox field could modify the disabled