WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 – Select and Show

Contact Form 7 – Select and Show

  • Hello fellow-WordPress users,

    I have a question regarding the plugin Contact Form 7.

    I am building a contact form, which goes great with this plugin. But I have have a question. I created a droplist (support and products) for the tag Subject.

    If the user select Products, I would like to show a few checkboxes beneath the tag. If the user select Support, nothing will change.


    1. Select a subject
    2. OnSelect ‘Products’ show checkboxes
    3. OnSelect Support, nothing changes

    Is this possible? And could you tell my how to do this?

    Regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ah, “onselect”, an old-school Javascript technique that sounds like the Dreamweaver code I get asked to fix all the time. 🙂

    The functionality you’re describing is very much Ajax type stuff. You could do this with JQuery programming or another Javascript framework. Definitely not with the HTML that Contact Form 7 generates, though.

    Actually, if you were a Javascript programmer, you could write code to make the “onselect” stuff work, too. But no, not with Contact Form 7 out-of-the-box.

    Good luck.

    Aaah thank you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Contact Form 7 – Select and Show’ is closed to new replies.