I have coded the following JavaScript script in the preSubmit event for
a submit button that will result in a database
deletion.form1.#pageSet[0].Page1.ButtonAreaTop.DeleteButton::preSubmit:form
- (JavaScript, client) var resp = xfa.host.messageBox("Delete this
filing?","Verify",2,2);if (resp == "4") { xfa.event.cancelAction =
false;} else { xfa.event.cancelAction = true;}The script works, but
because the button is on the Master Pages and the form has multiple
pages, the preSubmit event is being...