I have a reset button in my form to clear all user entries. I have a table with qty/price entries and corresponding fields that calculate sums etc.
I would like to add a reset button to clear only the table entries and the corresponding totals. How do I do this?
Solved! Go to Solution.
Views
Replies
Total Likes
You could pass the path of the field to the resetData function to selectively reset the data in the form.
xfa.host.resetData("xfa.form.form1.Page1.Table1");
xfa.host.resetData("xfa.form.form1.Page1.TextField1");
OR
xfa.host.resetData("xfa.form.form1.Page1.Table1,xfa.form.form1.Page1.TextField1"); // Combine multiple fields into one statement..
Thanks
Srini
Views
Replies
Total Likes
You could pass the path of the field to the resetData function to selectively reset the data in the form.
xfa.host.resetData("xfa.form.form1.Page1.Table1");
xfa.host.resetData("xfa.form.form1.Page1.TextField1");
OR
xfa.host.resetData("xfa.form.form1.Page1.Table1,xfa.form.form1.Page1.TextField1"); // Combine multiple fields into one statement..
Thanks
Srini
Views
Replies
Total Likes
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies