# Adding Hyperlink into the Servoy form

**URL:** <https://forum.servoy.com/t/adding-hyperlink-into-the-servoy-form/4160>\
**Category:** Classic Servoy\
**Created:** [May 4, 2005, 4:21pm UTC](https://forum.servoy.com/t/adding-hyperlink-into-the-servoy-form/4160 "2005-05-04T16:21:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akalehzan](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@akalehzan](https://forum.servoy.com/u/akalehzan)\
**Post date:** [May 4, 2005, 4:21pm UTC](https://forum.servoy.com/t/adding-hyperlink-into-the-servoy-form/4160/1 "2005-05-04T16:21:09Z")

</div>

Hi all,  
Does Servoy support Hyperlink?  
I have the following link that I would like to add into one of our Servoy Forms:  
[http://wwww.stanford.edu](http://wwww.stanford.edu)

Please let me know.

Thanks in advance,

Abrahim

---

<div class="post-metadata">

**Author:** ![Westy](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@Westy](https://forum.servoy.com/u/Westy)\
**Post date:** [May 4, 2005, 9:17pm UTC](https://forum.servoy.com/t/adding-hyperlink-into-the-servoy-form/4160/2 "2005-05-04T21:17:48Z")

</div>

Yes.

In method editor, click on “Application” then at bottom of screen scroll down to **showURL**. Right-click to past sample code into a new method. Assign method to desired form element’s onFocusGained property. If you want the url to be based on the contents of a field you can do something like:

```auto
application.showURL('http://'+fieldname);

```

or for email

```auto
application.showURL('mailto:'+fieldname);

```

---

<div class="post-metadata">

**Author:** ![akalehzan](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@akalehzan](https://forum.servoy.com/u/akalehzan)\
**Post date:** [May 6, 2005, 1:42am UTC](https://forum.servoy.com/t/adding-hyperlink-into-the-servoy-form/4160/3 "2005-05-06T01:42:12Z")

</div>

Thanks Westy,

That did it!

Abrahim
