Richard Tuquet Laburre a écrit :
May be, i made a mistake because nobody give me answers to my 2 different problems ;Hello and excuse me for my bad english (i am french)
1/ On a form, i use the javascript validation for an input field ; but when the tld is .info, the validations fails
How can correct this ?
2/ i want to verify (validate with javascript) that 2 fields (password) have the same value ; i find a custom-validation.xml and actions (mrabble.com) but the error message doesnt' appear in the same js dialog box as the required messages ;
an example :
i click submit on a form which contains empty fields which are required (and the 2 password values have different different values) ; in this case, a javascript dialog box is displayed and contains errors messages about required fields but not about difference betwen the password values
i fill the required fields ; i submit ; i see the js dialog box which contains message error about the validation of the 2 password fields (password is not equal to passsword2)
Is this possible to get the javascript message error in the same dialog box ?
I use struts 1.2.4 ; may be the validation rule which verify the same values of 2 fields has been added to a further (greater) version ?
thanks for read this and answer if possible
Richard
about the first, i forgot to say that my validation is an e-mail validation which fails when the address is like that : [EMAIL PROTECTED] (it 's because "info" and not "com" or "org" that validation fails)
Sorry to disturb this list if solutions to my questions have been posted (i don't find these answers)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]