<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Read Only Fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1</link>
		<description>Gravity Support Forums Topic: Read Only Fields</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:21:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/read-only-fields-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-79207</link>
			<pubDate>Fri, 05 Oct 2012 22:34:36 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">79207@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update @kayrum.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kayrum on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-79016</link>
			<pubDate>Fri, 05 Oct 2012 02:29:26 +0000</pubDate>
			<dc:creator>kayrum</dc:creator>
			<guid isPermaLink="false">79016@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;Yes it was a javascript issue, which I sorted by only calling the script on the specific page the form shortcode was in.&#60;/p&#62;
&#60;p&#62;Thanx for your comment.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-78239</link>
			<pubDate>Mon, 01 Oct 2012 00:40:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78239@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@kayrum, please post a link to the page with your form embedded so we can take a look.  Sounds like you have a JavaScript or jQuery error.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kayrum on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-78234</link>
			<pubDate>Sun, 30 Sep 2012 22:40:08 +0000</pubDate>
			<dc:creator>kayrum</dc:creator>
			<guid isPermaLink="false">78234@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David&#60;/p&#62;
&#60;p&#62;Your function works great when using in a simple form but, when included in the functions.php on a multi page form it hides the whole form (page is blank)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-51502</link>
			<pubDate>Tue, 06 Mar 2012 17:04:42 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">51502@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi mgyura,&#60;/p&#62;
&#60;p&#62;Give this a shot:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/3536412&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3536412&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mgyura on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-50967</link>
			<pubDate>Wed, 29 Feb 2012 20:39:07 +0000</pubDate>
			<dc:creator>mgyura</dc:creator>
			<guid isPermaLink="false">50967@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David,&#60;br /&#62;
Thank you for the script, it works great.  The only issue is if the the form isn't valid, and throws up a validation error message, the field become writable again.  &#60;/p&#62;
&#60;p&#62;Any ideas how I can stop this from happening?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-35914</link>
			<pubDate>Wed, 21 Sep 2011 18:09:12 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">35914@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Tony,&#60;/p&#62;
&#60;p&#62;Here is a code snippet that will make any &#60;strong&#62;input&#60;/strong&#62; field read only. Just added the class &#34;readonly&#34; to the settings for that field.&#60;/p&#62;
&#60;p&#62;You should paste this code in your theme's functions.php file:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/2570860&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2570860&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tonyallsopp on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields-1#post-35905</link>
			<pubDate>Wed, 21 Sep 2011 17:28:37 +0000</pubDate>
			<dc:creator>tonyallsopp</dc:creator>
			<guid isPermaLink="false">35905@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can any please please please guide me as to how to set a field (or multiple fields) to be read only? I've read a couple of posts on here where you've directed people to a form post on stackoverflow.com (&#60;a href=&#34;http://stackoverflow.com/questions/1362153/how-can-i-use-jquery-to-make-an-input-readonly)&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/1362153/how-can-i-use-jquery-to-make-an-input-readonly)&#60;/a&#62;, but I can't figure out how or where to put the couple of little code snippets they suggest.&#60;br /&#62;
It would be great long-term if GF could add a simple check-box option to each field, where you could specify a field to be read only, but short-term, is there any chance of a little bit more help here? I'm sure there would be many other (non-coding) people out there that would find this helpful as well.&#60;br /&#62;
Many, many thanks in advance,&#60;br /&#62;
Tony
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
