# Design Tools \> Modules \> HUBL "Link" & "URL" Fields

**URL:** <https://community.hubspot.com/t/design-tools-modules-hubl-link-url-fields/18378>\
**Category:** CMS Development\
**Tags:** design-tools\
**Created:** [January 27, 2020, 9:21pm UTC](https://community.hubspot.com/t/design-tools-modules-hubl-link-url-fields/18378 "2020-01-27T21:21:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProGrahamer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/prograhamer/32/18950_2.png) [@ProGrahamer](https://community.hubspot.com/u/ProGrahamer)\
**Post date:** [January 27, 2020, 9:21pm UTC](https://community.hubspot.com/t/design-tools-modules-hubl-link-url-fields/18378/1 "2020-01-27T21:21:55Z")

</div>

I have created the following code with the href pointing to the variable. The below works with both a “URL” Hubl form and a "LINK " Hubl form. However, when applied to a page and published, they both will open a new tab in the browser. I have the target set to “\_blank”  
Any and all help is greatly appreciated! Thanks  
 ![16x16_robot-very-happy.png.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/e/ee77e8f80d770ff1ac60a5e52baff8fe2808401a.png)

```auto
{% set href = module.url_field.url.href %}

<div class="btn_btr_blue">
<a href="{{ href }}" target="_blank">

<p> {{ module.simpletext_label }} </p>
</a>
</div>

```

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 29, 2020, 1:15am UTC](https://community.hubspot.com/t/design-tools-modules-hubl-link-url-fields/18378/2 "2020-01-29T01:15:21Z")

</div>

Assuming you want it to open in the same window, have you tried this?

`target="_self"`

rather than

`target="_blank"`

--  
Bryan Schneidewind  
Manager of Web Development  
[Weidert Group](https://www.weidert.com/)

---

<div class="post-metadata">

**Author:** ![ProGrahamer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/prograhamer/32/18950_2.png) [@ProGrahamer](https://community.hubspot.com/u/ProGrahamer)\
**Post date:** [January 29, 2020, 1:48pm UTC](https://community.hubspot.com/t/design-tools-modules-hubl-link-url-fields/18378/3 "2020-01-29T13:48:54Z")

</div>

Well that’s embarrasing. Forrest-for-the-trees is the only excuse I can give myself for this dumb question. Thank you Bryan!
