Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

customization in alert box


Level 2


   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


Former Community Member

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


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