Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Hyperlinks that open on a new page

Avatar

Former Community Member

Hi,

I have a form that seems to open the hyperlinks on the same page.I am wondering how I can set it so that when a user clicks a hyperlink it opens on a new page.

Thanks

6 Replies

Avatar

Level 2

Ashr1971,

try this:

app.launchURL("[enter the URL here]", true);

Avatar

Former Community Member

Isnt that for a button?I just want the user to click the url within the sentence to open a new page.I could be wrong but where do I add this?The click event option is greyed out so does it go within the hyperlink?

Avatar

Level 10

To add a hyperlink in Designer just select the desired word(s) in a text object with the mouse cursor.

Then click right to open the context menu ans seect "Add Hyperlink".

Finally enter the URL.

Avatar

Former Community Member

I did not ask how to add a hyperlink.I asked how to make a hyperlink open in a new window when you click it.

Avatar

Level 10

Hold down the ctrl-key while clicking the hyperlink I believe.

Avatar

Level 2

This is a backwards way of doing it.... what you can do is add a button... take out the border, take out the fill color and remove the wording so you basically have a box you can click on. Then you can make that "button" and put it so that it fits over the text you want people to click on and add the

app.launchURL("[enter the URL here]", true);    in to the javascript for the field under Button1:: enter

This will enable you to get the desired effect in a round about way...