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

Hyperlinks that open on a new page

ashr1971
Level 3
Level 3

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
dang_randy
Level 2
Level 2

Ashr1971,

try this:

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

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?

radzmar
Level 10
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.

ashr1971
Level 3
Level 3

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.

radzmar
Level 10
Level 10

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

Creative_Monkey
Level 2
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...