Hi,
How are people building the action attribute for form tags?
For example:
<cfoutput>
<form action="#buildURL('section.item')#" method="get">
<input type="text" name="p1">
<input type="submit">
</form>
</cfoutput>
Renders as:
<form action="/app/index.cfm?action=section.item" method="get">
<input type="text" name="p1">
<input type="submit">
</form>
When I submit this, it actually just submits to /app/index.cfm?p1 (ie the params on the form action are dropped off).
This works:
<form action="/app/index.cfm" method="get">
<input type="text" name="p1">
<input type="submit">
<input type="hidden" value="section.item">
</form>
But then do we lose the option to being able to switch to SES URLs?
Am I missing something obvious?
Andrew.