• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Current page URL form input

NinaMcI

Active member
#1
Hi,
I'm trying to render the URL of the page the user is on in a form using the following code:

Code:
<input type="text" class="textCtrl" size="70" name="redirect_url"  value="{URL OF CURRENT PAGE}" />
Please could someone help me with what to put in the value="{???}" so it picks up the URL of the current page.

Thanks.
 

Arty

Well-known member
#7
There is no such variable. You'll need to make one using {xen:link} that will probably look like
Code:
{xen:link groups, $group}