D
darrel
I'm using some validators for a form. If the field is invalid, the page
reloads with the error next to the field.
This works, and I like it.
I'd also like to add a separate message to the top of the page along the
lines "there appears to be an error with your submission. Please check the
form below. Items to correct appear in RED".
What would be the best way to do this? I was thinking that I could just wrap
it in a panel and set it to visible/hidden based on the validators. Is there
a way to check for ANY validator error? Something like:
if any validator = error, then panel.visibility = true
-Darrel
reloads with the error next to the field.
This works, and I like it.
I'd also like to add a separate message to the top of the page along the
lines "there appears to be an error with your submission. Please check the
form below. Items to correct appear in RED".
What would be the best way to do this? I was thinking that I could just wrap
it in a panel and set it to visible/hidden based on the validators. Is there
a way to check for ANY validator error? Something like:
if any validator = error, then panel.visibility = true
-Darrel