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

Form to generate when a cfselect <option value="1">1%</option> is selected

New Here ,
Jan 05, 2012 Jan 05, 2012

Hi,

I need some fields to display on a form but only when a swpecific dropdown is selected, in this case 1%

any ideas?

Thank you!

Phil

412
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 ,
Jan 05, 2012 Jan 05, 2012
LATEST

There is more than one way to do this.  Mine would probably be:

1. generate the optional form elements in <cfsavecontent >

2. use toScript to send the coldfusion variables to js.

3. create html divs.

4. write a js function that changes the content of the divs

5. call the function with some event

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