Question
Pass form value to URL
I want the country selected using this form also to show up
in the URL on the click-through page so that visitors can copy the
URL and share it with others. I assume that I need to extend the
url in the form action, but am not sure of the syntax. Any help is
very welcome.
<form action="ngo_details.cfm" method="post">
<select name="country">
<option value="Select a country">Select a country</option>
<cfoutput query="country">
<option value="#country.memberCountry#">#country.memberCountry#</option>
</cfoutput>
</select>
<input type="submit" name="Submit" value="Go" />
</form>
<form action="ngo_details.cfm" method="post">
<select name="country">
<option value="Select a country">Select a country</option>
<cfoutput query="country">
<option value="#country.memberCountry#">#country.memberCountry#</option>
</cfoutput>
</select>
<input type="submit" name="Submit" value="Go" />
</form>