# Concatenate 2 text variables to a URL!

**URL:** <https://forum.kirupa.com/t/concatenate-2-text-variables-to-a-url/3790>\
**Category:** Uncategorized\
**Created:** [September 17, 2001, 11:35am UTC](https://forum.kirupa.com/t/concatenate-2-text-variables-to-a-url/3790 "2001-09-17T11:35:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2001, 11:35am UTC](https://forum.kirupa.com/t/concatenate-2-text-variables-to-a-url/3790/1 "2001-09-17T11:35:35Z")

</div>

I have 3 dyanmic text boxes as variables.  
textbox1: var1=http://www.amazon.com  
textbox2: var2=/cgi-bin/filedb?openform  
textbox3: “\<A HREF” + var1 + var2 + “\>” clickhere “\</A\>”  
"A HREF + var1 + var2 + " " clickhere “/A” (just  
incase if you don’t see html tag)

In the browser, I see clickhere, when i click, its taking me to  
http"//+var1+var2.  
p.s: I declared only textbox3 as HTML (in panel, textoptions, checked HTML only for textbox3)

Please help.  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 18, 2001, 7:05am UTC](https://forum.kirupa.com/t/concatenate-2-text-variables-to-a-url/3790/2 "2001-09-18T07:05:47Z")

</div>

textbox3: “clickhere”

i think the board mangled your post, but it looks like you have var1+var2 enclosed in quotes, so they’re being interpreted literally - which is not what you want.

the above should work.
