If I find a problem in the data entered in a form, can I cause a specific field to be highlighted after routing the user back to the field? And can I cause a popup message warning the user of the specificly invalid field?
Newbie needs help,
Jerry
Solved! Go to Solution.
Views
Replies
Total Likes
The attached produces the following results to highlight various techniques for getting a user's attention. While the validations are relative to each field you can point the scripts at any field. Note, the 'Last Name' edit throws up the message box and sets focus back to the field if the field is null. Be VERY careful using 'xfa.host.setfocus()'. You can easily find yourself creating a form where user's get stuck...really stuck.
Steve
Views
Replies
Total Likes
The attached produces the following results to highlight various techniques for getting a user's attention. While the validations are relative to each field you can point the scripts at any field. Note, the 'Last Name' edit throws up the message box and sets focus back to the field if the field is null. Be VERY careful using 'xfa.host.setfocus()'. You can easily find yourself creating a form where user's get stuck...really stuck.
Steve
Views
Replies
Total Likes
Thanks, I appreciate the help!
Views
Replies
Total Likes
Wonderful Example!
I've tried to implement the example unfortunatally I cannot make it work.
Under what event the code should placed? I've placed it in the Exit event is that right?
Deos the form need to be Dynamic?
I've included the form. The field that I want to check is called Requested By
Would you be kind to have a look?
Views
Replies
Total Likes
Sorry for the late reply. We just finished a four day weekend.
I made the form dynamic and I used the click event. If this is still an open issue, I'll be happy to expand on that.
Views
Replies
Total Likes