Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I wish to display a text in output in DSP_output.cfm (output) CFIF based on what they select in DSP_search.cfm

Community Beginner ,
Mar 24, 2009 Mar 24, 2009
I wish to display a text in output in
DSP_output.cfm (output)
based on what they select in DSP_search.cfm (search page)
what do I have to do (or add to the code i already have) to acoomplish my objective?



DSP_search.cfm
Display screen where users can click on a drop down
<!-----------------------
<tr>
<td align="right">RING:</td>
<td><select name="RING">
<option value=""> </option>
<cfloop index="i" from="1" to="2">
<option value="#variables.i#">#variables.i#</option>
</cfloop>
</select></td>
</tr>

---------------------------->

DSP_output.cfm
If they choose the drop down 1 I want to output only
the text one.
if 2 then output text two

if they dont select any then
i will outpput both text "one and two"

Thanks

also, the out put is not limited to just the DSP_output.cfm
it will be passed in in different pages.

Thanks
316
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 24, 2009 Mar 24, 2009
LATEST
I'll do part of it for you, but only part of it

<cfoutput>
<cfif form.ring is 1>
#text1#
<cfelseif something>

<cfelse>

</cfif>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources