WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Plugin: Contact Form 7] Create a disabled input field

[Plugin: Contact Form 7] Create a disabled input field

Viewing 1 replies (of 1 total)
  • Plugin Author Takayuki Miyoshi

    @takayukister

    You can do it by using jQuery. For instance, suppose you have a text field with id ‘your-text’ in your form as:

    [text your-text id:your-text]

    Then, add this jQuery snippet into some proper place:

    jQuery(function($) {
    	$('#your-text').attr('disabled', 'disabled');
    });
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contact Form 7] Create a disabled input field’ is closed to new replies.
Skip to toolbar