Skip to main content
January 5, 2012
Question

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

  • January 5, 2012
  • 1 reply
  • 436 views

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

    This topic has been closed for replies.

    1 reply

    Inspiring
    January 5, 2012

    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