I am working in LiveCycle 7.0 and have created an alert box for my dymanic form that appears on exit of a text field.
example
app.alert("Is this correct?",2,2);
What I need to do upon the answer is:
if Yes is clicked some text and drop down fields need to be filled in.
if No these same fields need to be read only.
xfa.host.messageBox("message", icon, buttons)
method where the icon parameter is 0 (error) to 3 (status) and the buttons parameter is 0 (OK), 1 (OK, cancel), 2 (yes, no), 3 (yes, no, cancel).
The method then returns an integer indicating which button was pressed: 1 (OK), 2 (cancel), 3 (no) or 4 (yes).
You would then have an IF statement like this:
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.