Skip to main content
May 14, 2012
Question

Set cfinput to required, based on another field's value

  • May 14, 2012
  • 1 reply
  • 666 views

Hi~

I am trying to set the "required" attribute of a cfinput field dynamically, based on the value of a dropdown menu that is selected by the user. I have researched quite a bit, but all I can find is a solution for how to do this with a Flash form, not HTML. Any help would be greatly appreciated!

KC

This topic has been closed for replies.

1 reply

Inspiring
May 14, 2012

A google search on "javascript toggle required" should get you started.