- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi
The messageBox method will return a 4 if the Yes button is clicked, so
var button = xfa.host.messageBox("You are about to remove an entry in the plan. Do you wish to proceed?", "Removing Entry!", 2, 2);
if (button == 4)
{
this.resolveNode('plantable._planrow').removeInstance(this.parent.index);
if (xfa.host.version < 8) {
xfa.form.recalculate(1);
}
}
Views
Replies
0 Likes
Total Likes