I have 2 text fields and how can I make a condition when text field 1 is entered, then they have to enter data in text field 2. I know it seemed simple but I am just a newbie in this..thanks in advance!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I am sorry, I forgot that case.
Plz try this code.....
if (this.isNull)
{
TextField2.validate.nullTest = "error";
}
else
{
TextField2.validate.nullTest = "disabled";
}
Hope this,
S,Candy.
Views
Replies
Total Likes
is there anyone there who could help? thanks in advance...
Views
Replies
Total Likes
Do you mean as the following Pictures.
1> First state, "Manager"field and "Authorized" will null.
2> Second State, if input the data in "Manager" field and enter, "Authorized" will change mandatory.
Do u mean that?
Please write following.
In the "Enter" event of "TextField1" :
if (this.rawValue != "" || this.rawValue != null)
{
TextField2.validate.nullTest = "error";
}
S,Candy
Views
Replies
Total Likes
Thanks S.Candy. that worked but what if textfield1 is null, how do we revert back textfield2 to become not mandatory?
Views
Replies
Total Likes
The script you created made the textfield 2 mandatory but what if i erased the value of textfield 1,then it becomes null, how do you revert back textfield2 not mandatory again?thanks and i appreciate your help!
Views
Replies
Total Likes
Hi,
I am sorry, I forgot that case.
Plz try this code.....
if (this.isNull)
{
TextField2.validate.nullTest = "error";
}
else
{
TextField2.validate.nullTest = "disabled";
}
Hope this,
S,Candy.
Views
Replies
Total Likes
Great! Thanks s.candy! That worked!
Views
Replies
Total Likes
Thanks,MikalLou for your reply...
That worked!!!!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies