Created
February 17, 2013 20:59
-
-
Save WebEndevSnippets/4973429 to your computer and use it in GitHub Desktop.
Gravity Forms: Gravity Forms Read Only Fields (Multi-Part)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************ Gravity Forms Read Only Fields (Multi-Part) ************/ | |
// wpenqueue this file | |
jQuery(document).ready(function(){ | |
jQuery(document).bind('gform_page_loaded', function(){ | |
jQuery("li.gfield.readonly input").attr("readonly","readonly"); | |
jQuery("li.gfield.gf_readonly textarea").attr("readonly","readonly"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there...can you tell me how use it please? thank you very much