J
john.livermore
I am successfully using the client side validation controls, but there
are a couple aspects of their behavior that I wish to modify. I cannot
see how to accomplish this through the properties, but I thought I
would ask here for advice.
- ValidationSummary
When there are validation errors on the page, the summary control
displays its HeaderText at the top of my form. However, it lists each
validation problem. Additionally each error is shown next to the
problem control. This is all fine except for the summary control
listing each validation problem. How can I make it so that the summary
control only displays its HeaderText and suppresses the errors for each
control?
- Multiple Validators For a Control
I have a required field and a regular expression validator on one
control. The controls are created on the form in the order of required
validator first and reg exp validator second. When the control has
some data, but fails the regular expression, the error message is
shifted to the right of the required field message (which remains
hidden). Looking at the HTML I see the validators use a
visibility=hidden style instead of a display=none style. Is there a
way to make the validators use the latter attribute? This would solve
the alignment issue.
Thanks,
John
are a couple aspects of their behavior that I wish to modify. I cannot
see how to accomplish this through the properties, but I thought I
would ask here for advice.
- ValidationSummary
When there are validation errors on the page, the summary control
displays its HeaderText at the top of my form. However, it lists each
validation problem. Additionally each error is shown next to the
problem control. This is all fine except for the summary control
listing each validation problem. How can I make it so that the summary
control only displays its HeaderText and suppresses the errors for each
control?
- Multiple Validators For a Control
I have a required field and a regular expression validator on one
control. The controls are created on the form in the order of required
validator first and reg exp validator second. When the control has
some data, but fails the regular expression, the error message is
shifted to the right of the required field message (which remains
hidden). Looking at the HTML I see the validators use a
visibility=hidden style instead of a display=none style. Is there a
way to make the validators use the latter attribute? This would solve
the alignment issue.
Thanks,
John