I am trying to create a disabled input field using Contact Form 7.
Can this be done?
Thanks very much for your help.
I am trying to create a disabled input field using Contact Form 7.
Can this be done?
Thanks very much for your help.
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');
});This topic has been closed to new replies.