Skip to main content
Known Participant
June 12, 2018
Question

App alert and hypertext link

  • June 12, 2018
  • 2 replies
  • 1075 views

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 has been closed for replies.

2 replies

Joel Geraci
Community Expert
Community Expert
June 12, 2018

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.

Known Participant
June 12, 2018

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

try67
Community Expert
Community Expert
June 12, 2018

Not possible.

Known Participant
June 12, 2018

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 ???

Inspiring
June 12, 2018

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/ "

})