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
BedrockMission!

Learn More

View all

Sign in to view all badges

Button text change the messagebox

Avatar

Avatar
Validate 1
Level 1
PDF_Solutions
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
PDF_Solutions
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
PDF_Solutions
Level 1

10-02-2010

Hello good day

I could help with the following questions regarding the programming of LiveCycle ES , the problem I have is to create a way and that way I put a messagebox with JavaScript programming, but the buttons is the text of yes / no  I could help to tell me how you change the text of the I customize those buttons. I need change de text of de buttons  I want customize de button

I use the following code

xfa.host.messageBox("¿Es renta variable o renta fija ? Elija SI para renta variable, Elija NO para renta fija","Advertencia!!!",2,2); , buy yhe buttons text is yes/no ,  I want personalize text of the buttons

*I will really appreciate your support with the doubt I have.

Thanks

Replies

Avatar

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct Reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct Reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
_Nith_
Level 7

10-02-2010

You can create a custom dialog using app.execDialog() method. Would you prefer that idea?

Nith

Avatar

Avatar
Boost 5
Level 3
Thom_Parker
Level 3

Likes

5 likes

Total Posts

90 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 3
Thom_Parker
Level 3

Likes

5 likes

Total Posts

90 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
Thom_Parker
Level 3

11-02-2010

The built in popup boxes in Acrobat JavaScript cannot be modified.  A custom dialog is the only way you'll be able to create the custom button you'd like.

Take a look at this article:

http://www.acrobatusers.com/tutorials/2006/popup_windows_part5

And at this Acrobat plug-in for creating custom dialogs:

http://www.windjack.com/products/acrodialogs.html

<

Thom Parker
The source for PDF Scripting Info
pdfscripting.com

The Acrobat JavaScript Reference, Use it Early and Often
http://www.adobe.com/devnet/acrobat/javascript.html

Then most important JavaScript Development tool in Acrobat
The Console Window (Video tutorial)
The Console Window(article)