Answered
Hello forum members,
I use a reset button in my form with this script:
var returnValue = app.alert("Are you sure?",2,2);
if (returnValue == 4) //yes is 4, no is 3
{xfa.host.resetData();xfa.form.remerge();}
else
null;
Is there an extension to the script which makes the form "jump" to the first page? With this script the form stays at the last page.
Thanks.
to jump to a specific point ino the form, you can use the setFocus method.
Just add it to your curent script.
xfa.host.setFocus(xfa.form.form1.TextField1);
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs