on 04-21-2008 11:13 AM
Hi Experts,
I have an interactive form i wda with three input fields. All the three fields are required fields. Is there any way to highlight the fields that is blank before submitting.
I need to highlight the field which is blank when i press the submit button.
Regards
Sarath
points are assured
Hi
Write the below mentioned code at the exit event of the field:--
>Code>
if( this.rawValue == null)
{
BodyPage1.RequestDetails.ApprovedBy.border.edge.color.value = ( "125" ,"125","125");
}
Hope this helps..
Regards
Amita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the layout define the field as required , so if you don't filled them they will be higlight automaticaly when submitting.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can write following JavaScript on the click event of the button:
if ( this.parent.Fname.rawValue == null ){
this.parent.Fname.border.fill.color.value = ( "125" ,"125","125");
}
Hope this helps,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.