Previous | Next | (P-PDF) Acrobat 6.0
Topic: app.alert?
Conf: (P-PDF) Acrobat 6.0, Msg: 114653
From: ryandoah
Date: 7/2/2004 03:35 AM
Hi all,
I have this code:
var workstatus = this.getValue("claimant.workstatus");
if (workstatus.valueAsString == 'Select a Work Level')
{
app.a lert("Please select a valid option from the claimant work status drop-down list.",2,0);
}
else
{
app.a lert(workstatus.value,2,0);
}
I can't seem to get to work, using Acro6.
I've tried using parens, brackets, just like the AJSR states and other ways as seen on here. With no luck. I am not totally sure that the workstatus is recieving the correct value, as it is in a single select combobox, but the else statement should cover that situation. Any ideas.
Thanks,
ryandoah