Hi I was wondering if someone could help me with the following problem. I am having
trouble passing multiple values using the <FORM Method="GET"> to ColdFusion.
The code below only passes one value for state, not multiple values:
<!-- expt.html -->
<html>
<head>
</head>
<body>
<form action="expt.cfm" method="GET" name="form_1">
<select name="State" multiple>
<option value="NSW" selected>New South Wales
<option value="VIC">Victoria
<option value="QLD">Queensland
<option value="SA">South Australia
<option value="WA">Western Australia
<option value="TAS">Tasmania
</select>
<input type="SUBMIT" VALUE+"SUBMIT">
</form>
</body>
</html>
<!-- expt.cfm -->
<html>
<head>
</head>
<body>
<CFSET State=url.state>
<cfoutput>
State = #State#
</cfoutput>
</body>
</html>
If I change the above to "POST" method and use form.state to pass variable, it does
pass multiple values, but I would like to know how to make the "GET" method pass
multiple values.
regards
Tuum
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4