WordPress.org

Support

Support » Plugins and Hacks » Dynamically Show/Hide a field based on the value of a checkbox

Dynamically Show/Hide a field based on the value of a checkbox

  • isfak
    Participant

    @isfak

    Hello everybody,

    I am trying to achieve the following functionality:
    -User checks a checkbox, then an drop-down menu becomes visible (select)
    -User unchecks the checkbox, then the dropdown menu becomes invisible

    > Is it possible to do this within Contact Form 7 or with any of its extensions?
    > Is it possible to do this with coding? (I am not that experienced with WordPress coding, so I need a step-by-step explanation).

    Thanks in advance!

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • buzztone
    Participant

    @buzztone

    This sort of conditional logic is not available directly in Contact Form 7. It can be done via custom programing but you would need to be rather skilled at WordPress development using PHP and/or jQuery. I’d be surpised others were willing to provide “a step-by-step explanation”.

    Some of the premium Form plugins do offer some Conditional Logic including Gravity Forms, and Ninja Forms.

    Check out this support thread from a couple of years ago. It should put you on the right track.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamically Show/Hide a field based on the value of a checkbox’ is closed to new replies.