Hi All,
When I click reset form button. I would like to reset data then focus to the first field. I can clear information I provided but setFocus to the first name field is not working. Please help.
I use datasets to reset data.
Here is my coding:
event: click
xfa.datasets.data.loadXML("<form1/>", true, true);
xfa.host.setFocus("xfa.form1.contactInformation.firstname")
Thanks,
Cindy
Solved! Go to Solution.
Views
Replies
Total Likes
Put the setfocus on the form:ready event of form1
Views
Replies
Total Likes
xfa.host.setFocus("form1.contactInformation.firstname")
Views
Replies
Total Likes
I tested the clear button. But it is not set Focus to the first field. It is not successful.
Views
Replies
Total Likes
Put the setfocus on the form:ready event of form1
Views
Replies
Total Likes
thank you it is working.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies