I have a 4-digit field that the user must fill in. When the field is filled, I need a drop-down list display. What event do I use for the script on the 4-digit field? I have gotten the script to work on radio buttons and check box, but am having trouble with this new situation.
Thanks,
MDawn
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You could use the exit event, with an if statement:
if (this.rawValue !== null)
{
dropdown1.presence = "visible";
}
else
{
dropdown1.presence = "hidden";
}
If there is a specific pattern or value, you could check against that as well.
Good luck,
Niall
Views
Replies
Total Likes
Hi,
You could use the exit event, with an if statement:
if (this.rawValue !== null)
{
dropdown1.presence = "visible";
}
else
{
dropdown1.presence = "hidden";
}
If there is a specific pattern or value, you could check against that as well.
Good luck,
Niall
Views
Replies
Total Likes
Thank you. In the meantime, I discovered that the numeric field was on page1 and the drop-down list was on page2. When I specifically included the page designation in the names, it worked. Therefore, it was the script or the event that was the problem.
Thanks again for your time.
Margaret Dawn
Supervisor - Documentation
W: 630-850-1065
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies