• Hi,

    I’m trying to make a contact form with a drop down menu.
    The drop down menu will say with option do you want? A, B, C
    if A, show section A
    if B, show section B
    etc…

    So far the best I could find and do was this

    Contact Form 7 with options

    and that shows the following code:

    <input name="chkCheckbox" type="checkbox" onclick="if (this.checked) { document.getElementById('div1').style.visibility='visible' } else { document.getElementById('div1').style.visibility='hidden' } "/>Check me to see the list
    
    <div id="div1" style="visibility:hidden">
    [select* lstList "1" "2" "3"]
    </div>

    I appreciate all the help I can get.

    -Red

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

  • The topic ‘conditional formatting without jquery’ is closed to new replies.