Title: Disable select options?
Last modified: September 1, 2016

---

# Disable select options?

 *  [VIPStephan](https://wordpress.org/support/users/10010110/)
 * (@10010110)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/disable-select-options/)
 * I’ve searched the forum and CF7 site for a way to have a disabled option in a
   select but none of the replies I found had a satisfying solution. Is there any
   way to do this? In HTML you can have <option disabled=”disabled”> – how can I
   do this in CF7?
 * If that’s not implemented, is there a way to write my own form field HTML in 
   CF7 and have it sent along with the form?
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [kalamkhan777](https://wordpress.org/support/users/kalamkhan777/)
 * (@kalamkhan777)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/disable-select-options/#post-7595865)
 * Hi,
    I hope this may help you.
 * [https://wordpress.org/support/topic/plugin-contact-form-7-create-a-disabled-input-field?replies=2](https://wordpress.org/support/topic/plugin-contact-form-7-create-a-disabled-input-field?replies=2)
 * By using jquery.
    Thanks
 *  [kalamkhan777](https://wordpress.org/support/users/kalamkhan777/)
 * (@kalamkhan777)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/disable-select-options/#post-7595866)
 *  Thread Starter [VIPStephan](https://wordpress.org/support/users/10010110/)
 * (@10010110)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/disable-select-options/#post-7595896)
 * Thanks for the reply but JavaScript is not a real solution (much less jQuery 
   for such a simple fix!). It would just be a superficial fix without much substance.
   Ideally I’d like a real HTML solution which I imagine shouldn’t be the hardest
   thing to code.
 *  [Smita Mishra](https://wordpress.org/support/users/smita013/)
 * (@smita013)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/disable-select-options/#post-8312865)
 * Hi,
 * You can refer this.
    [http://wordpress.stackexchange.com/questions/213805/how-to-add-placeholder-for-contact-form7-for-dropdown](http://wordpress.stackexchange.com/questions/213805/how-to-add-placeholder-for-contact-form7-for-dropdown).
 * Here,
 * “Contrary to what the accepted answer suggests, it actually is possible and built
   into Contact Form 7. Here’s the actual list of options [select] holds. Pretty
   much you would define the first option to be the placeholder using first_as_label:
 * [select* Test first_as_label “Placeholder” “Option 1” “Option 2″]
    While it won’t
   traditionally look like a placeholder, if it’s required the user won’t be able
   to select the placeholder and send the form – this forces the user to select 
   any of the other options”
 * this first_as_label worked perfectly for me.
 * Thanks,
    Smita 🙂
 *  [ravipatel181229](https://wordpress.org/support/users/ravipatel181229/)
 * (@ravipatel181229)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-select-options/#post-8981442)
 * [select* menu-123 class:custom-select “option1” “option2” “option3”]
 * write following in css
 *     ```
       .custom-select{
           pointer-events: none;
           cursor: default;
       }
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable select options?’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [disabled](https://wordpress.org/support/topic-tag/disabled/)
 * [option](https://wordpress.org/support/topic-tag/option/)
 * [select](https://wordpress.org/support/topic-tag/select/)

 * 5 replies
 * 4 participants
 * Last reply from: [ravipatel181229](https://wordpress.org/support/users/ravipatel181229/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/disable-select-options/#post-8981442)
 * Status: not resolved