Answered
I have this Document level JS that runs when the document is opened.
var t = this.getField("DELIVER_TO"); // the target field
var cResponse = app.response({
cQuestion: "What is the ITT EMAIL address for the Deliver To Individual?",
cTitle: "Deliver to eMail address"});
if (cResponse == null){
// if Cancel is selected
app.alert ("Cancel this Purchase Request?");
cResponse = 0;
}else{
// places the data from the dialog to the target field
t.value = cResponse;
}
How do I make it run ONLY if there is nothing in the field?
THX
Ben
This code and not reside in the referenced form field.
George Kaiser