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

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

HTML5 Form URL Code to Launch URL in New Tab

Avatar

Level 4

Hi All,

I am working on a HTML5 form and i have a use case when we have an external link and the requirement is that when the button is clicked the link should open an external URL. 

 

I am using app.launchURL("link") command for the form. The same code is working for PDF forms as the links are opening in new page.

 

Can someone please provide me an alternative solution to open a external link in HTML5 form or let me know if we can use windows.open("link","_blank");

 

Thanks
Pranay

1 Accepted Solution

Avatar

Correct answer by
Level 9
3 Replies

Avatar

Level 9

You will have to use window.open

not all functions are supported in html 5 rendition 

Avatar

Level 4

But is this the best possible approach and do we have any alternate solutions recommended by Adobe..??

Avatar

Correct answer by
Level 9