Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
cfselectを使用したドロップダウンメニューがいくつかあります(例:都市と国)。選択した値をどのように決定し、別のcfformで使用するためにそれらの値に変数を設定するのか疑問に思っています。
ありがとう。
Form1.cfm
<cfselect name="city"> <cfselect name="country">
フォームを form2.cfm に送信すると、都市と国がフォーム スコープで使用可能になり、ユーザーが選択した選択肢が含まれます。HTMLフォームと変わらない?
Form2.cfm
<cfinput name="chosenCity" value="#form.city#"> <cfinput name="chosenCountry" value="#form.country#">