Re: [S2] Problem of validation with a select in my form

2007-08-06 Thread MLENEVEUT
The Change() method is rather doing nothing, just modifying a flag : script type=text/javascript function Change(){ document.forms[0].change.value = '1'; } /script My validattion xml is simple, it is just a requiredstring on the select item : validators field

Re: [S2] Problem of validation with a select in my form

2007-08-06 Thread mleneveut
Here is a sample application containing the test pages : http://oughacom.free.fr/Java/Test.war mleneveut wrote: The Change() method is rather doing nothing, just modifying a flag : script type=text/javascript function Change(){ document.forms[0].change.value = '1'; } /script

[S2] Problem of validation with a select in my form

2007-08-03 Thread MLENEVEUT
Hi, I have a select list in my form, and when I submit the form, the javascript client validation passes, but the server validation failed. It comes back to my JSP with the required field error message. The weird thing is that in my action the field is well filled (I put a breakpoint in an

Re: [S2] Problem of validation with a select in my form

2007-08-03 Thread Laurie Harper
Sounds like an error in your validation rules, which you haven't listed, or possibly a result of whatever your Change() JavaScript function is doing. Without seeing all the pieces, it's difficult to diagnose. L. [EMAIL PROTECTED] wrote: Hi, I have a select list in my form, and when I submit