Allow me to thank you in advance.
I'm presently using a standard asp.net control to validate a (Name) text field. As you can see by the code, I have moved the asterisk to the left of the textbox label (rather than put it next to the text box). What I would like to do it show the asp.net error "" in place of the "<span class="required-asterisk"></span>"
So if the user has no error they will see the <span class="required-asterisk"></span> which is blue for example. However, if they have an error the blue "" will be replaced by the asp.net default "*".
This is my code:
<asp:requiredfieldvalidator id="Name" runat="server" controltovalidate="Name" enableclientscript="True"></asp:requiredfieldvalidator>
Basically I would like something similar to an esle statement.
Any help would be greatly appreciated.