Hello,

I have a message to display when the user goes to print the document IF a certain condition is met. This part works fine. The message is a notice that a certain field is blank. They can print the form if it's blank, but I am giving them the choice. Below is the code I have so far, and the alerts work, but I don't know what to do when they say "yes".

var u = this.getField("theForm.extendedPriceFee[1]").valueAsString;
if (u.value == undefined){
var RetValue = app.alert({
cMsg: "There is no Activation fee entered. Do you want to enter it now?",
nIcon: 1,
nType: 2,
cTitle: "No Activation Fee Entered"
});

if(RetValue == 4){
//app.alert(" You Pressed Yes " );
}
else {
//app.alert(" You Pressed No " );
}

}