on 03-19-2010 1:53 PM
Dear all,
I faced to a strange problem.
I marked some fields as Type - User Entered Required.
I created a button which is declared as Submit button.
When I clicked on my button, the required fields are highlighted (red border).
But when I filled in my field, the red border is always there, it doesn't disappear.
Could you tell me how to change the standard message error of the submit button ? I don't want a message on each field but only one when I clicked on the button.
for the moment, I did
if the field is empty, then color the background of the field on the submit button
On each field, if the value is filled in, I remove the background color
Thanks
Véronique
I guess that's the standard behavior of "User Entered - Required". If you want to have only one error message per all required fields, you'll need to do some coding.
Use two buttons, one regular (label 'Submit') and the other submit (hidden). When the user clicks your regular button, check all mandatory fields. If everything is in order:
RealSubmitButton.execEvent("click");
Hope this approach helps you.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.