Make forms fields disabled or readonly in Gravity Forms vs Ninja Forms
#Make forms fields disabled or readonly in Gravity Forms vs Ninja Forms
I've seen this in a couple of places so wanted to make a note of it for future use. Their is a plugin from Engage WP that does this a little more agnosticaly then other snippets i have seen that target gravity form class's and id's specificaly. This should work with any wordpress form plugin that allows you to add custom classes to individual form fields.
Simply enqueue this js and enjoy.