Goswami, Raj wrote:
I have a Select box which has all the states.  The first option is 'Select 
One.'  I need to display an error message if none of the state is selected.  I 
am using DynaActionForm and the xml config file for validation.  I put the 
value of 'Select One' as  '-1' and it displayed the error message first time 
the form is submitted.  The subsequent submits of the same screen, doesn't 
display the select error again, even though it shows the other text errors.

How is your validation defined? I haven't this, but my first thought would be to declare 
it as depends="required" and use an empty string for the 'Select One' option's 
value.

L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/~laurie/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to