- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
The resetData() function only applies to the form data, resetting it back to the default values. Things like the presence property of a form object are not considered form data.
So you probably need to add the extra code to the reset button click event;
up.presence = "visible";
Also, to get the resetData() function working correctly you need to be very careful in getting the format correct, especially adding the comma between each field, I find this approach easier;
var fields = [];
fields.push(this.parent.somExpression + ".Seminar");
fields.push(this.parent.somExpression + ".Date");
fields.push(this.parent.somExpression + ".AE");
// ...and pass the variable as a parameter.
xfa.host.resetData(fields.join());
The .join() method handles the commas for you.
Bruce
Views
Replies
Total Likes