WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Resolved] How to add non selectable fields in a drop-down

[Resolved] How to add non selectable fields in a drop-down

Viewing 1 replies (of 1 total)
  • I solved the problem myself if anyone has the same issue

    I used JQuery and gave the options I wanted to make non-selectable an empty value.

    $("option:nth-child(1), option:nth-child(1)").val("");
    $("option:nth-child(1), option:nth-child(53)").val("");
    });
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to add non selectable fields in a drop-down’ is closed to new replies.
Skip to toolbar