Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Cannot set focus when reset data using datasets

$
0
0

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


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>