[SOLVED] Problem Creating Anchor URL that contains parameters
hello everyone,
I'm using -HTMLFORM in my fex to create some html and one of my elements is an anchor. The href however contains an & character and fex is truncating the line at that position.
For example:
-HTMLFORM BEGIN
...
...
<A id=anchor12 style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; Z-INDEX: 558; LEFT: 120px; WIDTH: 160px; COLOR: black; FONT-FAMILY: Arial; POSITION: absolute; TOP: 15px; HEIGHT: 15px" href="/approot/prod/tmplate?id=XXXXX12345&mask=49" name=anchor12
<SPAN autoExecute="True">49</A>
...
...
-HTMLFORM END
When I run the fex it produces the following:
<A id=anchor12 style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; Z-INDEX: 558; LEFT: 120px; WIDTH: 160px; COLOR: black; FONT-FAMILY: Arial; POSITION: absolute; TOP: 15px; HEIGHT: 15px" href="/approot/prod/tmplate?id=XXXXX12345
<SPAN autoExecute="True">49</A>
How can I escape the & character so it will get written to the html as part of the href value. &mask is not an &variable, it is a parameter on the url.
Thanks DavidThis message has been edited. Last edited by: Kerry,