Expand my Community achievements bar.

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