Skip to main content
Known Participant
Jun 12, 2018 1:45 PM UTC
Question

App alert and hypertext link

Hi everyone !

I am using acrobat 15 on windows.

My question is the following : Can i put some hypertext link in order to send the user to a website within the app.alert box ?

Thx u !!!!!!!!!

This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

Joel Geraci
Community Expert
Community Expert
Jun 12, 2018 2:21 PM UTC

You can't in an alert but you can in a dialog... that just looks like an alert. The "link_text" dialog element isn't documented though. If you are comfortable with Acrobat JavaScript dialogs, I can put together an example.

Translate
Known Participant
Jun 12, 2018 3:41 PM UTC

I have no idea about dialogs ... but i u dont mind putting an exampe ! it would nice =)))))))))

Translate
try67
Community Expert
Community Expert
Jun 12, 2018 1:56 PM UTC

Not possible.

Translate
Known Participant
Jun 12, 2018 1:59 PM UTC

thx u =) !!

May be is it possible by modifying the paramaters : to put some text which the user will copy it by selecting it with the mouse ???

Translate
Inspiring
Jun 12, 2018 2:52 PM UTC

Use the response() method of the app object and set the answer's default value to the link you want.  Response() is usually used to recover a user's answer to a question and use that value to some purpose.  Using that method, you can also set a default answer which is conviniently highlighted by default.  All the user has to do is copy/paste.

app.response({

   cLabel: "Use this link:",

   cDefault: "https://forums.adobe.com/ "

})

Translate