XModPro

Validation Message Bug

Drew Drew asked Aug 2, 2019
Active Aug 13 · Viewed 1562 times
<p>Documentation specifies for the "Required" validation you may use either the "Text" of "Message" variable to display separate messages such as one in the validation summary and the other at the actual control. </p> <p>The behavior is not as expected. If you have a validate tag without the "Text" variable and you only use the "Message variable", then the validation message should only appear in the validation summary. However, without the "Text" variable, the control also displays the text of the "Message" variable. </p> <p>In short, do not display the validation message at the control if the "Text" variable is not specified. This way, you can only display the messages in the validation summary. </p> <p>The only way to hide the validation message at the control is to wrap the validate tage with a display:none div. </p> <p>That is unless there is another way. </p> <p>Regards,<br>Drew<br> </p>

4 Answers

Loading answers...