App alert and hypertext link

New Here ,
Jun 12, 2018

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript, Windows

Views

192

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

App alert and hypertext link

New Here ,
Jun 12, 2018

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript, Windows

Views

193

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 12, 2018 0
Most Valuable Participant ,
Jun 12, 2018

Copy link to clipboard

Copied

Not possible.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2018 0
New Here ,
Jun 12, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2018 0
Engaged ,
Jun 12, 2018

Copy link to clipboard

Copied

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

})

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2018 0
New Here ,
Jun 12, 2018

Copy link to clipboard

Copied

thx !!!! i ll try it tommorow

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2018 0
Adobe Community Professional ,
Jun 12, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2018 0
New Here ,
Jun 12, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2018 0