Create a disabled input field in contact-form-7

Create a disabled input field

========================

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');
});

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/r8424051/public_html/nibatech.com/wiki/wp-includes/wp-db.php on line 1889