|
-
Mar 12th, 2009, 06:53 AM
#6
Re: Validation
 Originally Posted by Pino
Ok I'm either overcomplicating this or missing somthing infront of me.
If I have the following when the form is shown
Code:
* Membership Number: [ Field Here ]
and after I want it to look like
Code:
* Membership Number: [ Field Here ]
(On invalid data) - Can this be done, without me writing jquery?
Yeah, I agree with Mendhak. What I would normally do in your situation is set the Text of the validation class to "*" and position it to the left of the label which says "Membership Number:", that way, the asterik will only appear (and you can set it to be red in colour) when something is missing from that control.
To get the whole label to turn red, then you would need do implement the custom javascript that mend mentioned.
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|