Copy link to clipboard
Copied
I am new with CF. I am using CF 10 on WIN XP. I am pulling a distinct list of data and want the user to select one to open a new page (detail.cfm) and pass that value to the next page to be used for other queries.
can it be done?
Here is my code for cfselect .
What am I missing
<cfform name = "Form" action="detail.cfm"
<cfselect name="trip"
query="gettri"
value="district_name"
required="yes"
multiple="yes"
size="1">
</cfselect>
<br> <input type="Submit" value="Submit">
</cfform>
Thank you for your time
Rob
Copy link to clipboard
Copied
All you appear to be missing is a closing angle bracket at the end of your cfform tag.
Copy link to clipboard
Copied
I missed it when I typed it in my original question
The > bracket is in my code.
I justed checked.
It should read ~ "detail.cfm">
The list works when I excute the page.
How do I pass the value after I have selected it on the page?
Thank you
Copy link to clipboard
Copied
cfdump your form scope. You should see it.
Copy link to clipboard
Copied
got it thanks