I would like to be able to prompt the user to fill in either one of two text fields, If for example they fill in text field A, then no prompt would pop up, but if they didn't fill in text field A then a prompt would pop up asking them to fill in text field B.
Thanks
Hi,
One way would be to place a JavaScript in the exit event of TextFieldA:
if (this.rawValue === null) {
xfa.host.messageBox("Please complete Text Field B", "Attention", 0, 0);
}
However this will only fire when the user exits TextFieldA. You may need additional script if it is likely that the user does not even enter this text field.
Niall
North America
Europe, Middle East and Africa
Asia Pacific