Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

xfa.host.messageBox - Break the script with a return value

Avatar

Level 2

I have a message box with a YES/NO answer.

If No is the return value, I would like to stop the script.

Is there a way of doing this?

 

Here is my script:

if (xfa.host.messageBox("The manifest has already been created! Do you wish to continue?","Create Manifest",2,2)=="3")

     {

     break;

     }

I am not sure if 'Break' is the right code.

Hope someone can help me please!

BTW, I am using Adobe Designer v7.0

0 Replies