jimmyshoes
Programmer
The urls I am working with look like this
This works fine. I get the form variables and the url variables
However if I use htmlEditFormat as follows
then anothervar comes through as amp;anothervar=2
Why is this? Should I stop using htmlEditFormat(...), or is it bad practice to add variables to the action url when submitting a form
Code:
page.cfm?somevar=1&anothervar=2
Code:
<form name="someForm" action="#urlStr#" method="post">
This works fine. I get the form variables and the url variables
However if I use htmlEditFormat as follows
Code:
<form name="someForm" action="#htmlEditFormat(urlStr)#" method="post">
then anothervar comes through as amp;anothervar=2
Why is this? Should I stop using htmlEditFormat(...), or is it bad practice to add variables to the action url when submitting a form