Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

xfa.host.messageBox button caption

Avatar

Level 2

I showing some error message with xfa.host.messageBox("Error in form");

Pop-up window comes up with the "Error in form" text and the OK button. Is there a way I can change the button caption OK to something else.

Thanks,

Tanmay

2 Replies

Avatar

Level 10

Not for the messageBox() method.

You can create your own dialogs with Acrobat JavaScript, but it's a bit difficult at the beginning.

See the details in the reference

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf

Avatar

Level 2

Hi Radzmar.

Thanks for your response. I am unable to apply that in my JS Warning message using LC designer.

Could you please share the working sample, if you've any.

Thanks,
Tanmay