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

customization in alert box

Avatar

Level 2

Hi

   I am new to lc form designing.I need a ALERTBOX which has print option.I mean i want to change the default "YES","NO" option in alertbox.

   Help me ASAP.

   If possible send a sample pdf.

   Thanks a lot

1 Reply

Avatar

Level 4

Off your print button - JavaScript on the click event - Then customize the text as desired.

var

nButton = xfa.host.messageBox("You must SAVE the form prior to removing pages to have this function work properly.\n\n Did you save the form?", "DID YOU SAVE?", 2, 2);

if (nButton == 4) // Hitting the Yes button returns 4

{

form1.page1.instanceManager.removeInstance(form1.page1.instanceManager.count-1); // proceed with delete

}

Eve