on 07-15-2008 7:50 AM
Hi all,
As per our scenario, we require to highlight just the fillable part of the text field with a red border.
Any suggestions are welcome.
Please help.
Thanks
Amita.
Amita,
Use this code to highlight the fillable area where R,G,B means that you have to give the RGB values of the color you want.
<Your TextField Name>.border.edge.color.value = "R,G,B";
For eg:- If you have a textfield with name TextField1 then following code will highlight the TextField fillable area in red color.
if ((TextField1.rawValue==null) || (TextField1.rawValue==""))
{
TextField1.border.edge.color.value = "255,0,0";
}
You can use this on exit event of Textfield or at the submit button where you check teh form data.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.