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

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

Guest
May 14, 2012 May 14, 2012

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

635
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 ,
May 14, 2012 May 14, 2012
LATEST

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

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