<?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</link>
		<description>Gravity Support Forums Topic: Read Only Fields</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 12:18:31 +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" rel="self" type="application/rss+xml" />

		<item>
			<title>Brandrune on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24315</link>
			<pubDate>Wed, 27 Apr 2011 15:51:10 +0000</pubDate>
			<dc:creator>Brandrune</dc:creator>
			<guid isPermaLink="false">24315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks again Carl, this is great.  The only problem is that the total cost field won't add in the base cost because it is added after the form is submitted.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24308</link>
			<pubDate>Wed, 27 Apr 2011 15:41:34 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24308@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You would put all your custom code in your themes functions.php, which is where you would put any customizations that take advantage of hooks.&#60;/p&#62;
&#60;p&#62;The problem is since you are manually sending the emails you need some way to generate the link that passes the encrypted value because that is outside of Gravity Forms.&#60;/p&#62;
&#60;p&#62;All of the hooks/filters are documented in the Documentation area here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The easiest way to do this is you'd setup a hidden field to be populated dynamically (edit the field, select advanced tab, set it to be populated dynamically and give it a parameter name).  The parameter name is what would be used in the query string to pass data to that field.  This would now populate that field with the encrypted value that is passed to it in the query string.&#60;/p&#62;
&#60;p&#62;Then you would use the gform_post_submission hook and use PHP to decrypt the value and store the true value in it's place.&#60;/p&#62;
&#60;p&#62;But again as I noted above the issue is the initial encrypted value, by sending the emails manually you need some way to generate this value so you need to write PHP that will generate this for you.  Which is outside the scope of Gravity Forms.  But would be part of the code for decrypting the value because you'd need to know what method and how to decrypt the value based on how you encrypt it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brandrune on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24284</link>
			<pubDate>Wed, 27 Apr 2011 14:06:01 +0000</pubDate>
			<dc:creator>Brandrune</dc:creator>
			<guid isPermaLink="false">24284@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;EDIT: After talking with a collegue, it would be pointless to validate using hidden fields, although a great idea because there are too many variables.  We both love the idea of hashing or encrypting so once encrypted we would just like a small bit of help of where to put the dehash/decryption and how to put that decrypted data then into a form object value.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>isuk on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24280</link>
			<pubDate>Wed, 27 Apr 2011 13:53:41 +0000</pubDate>
			<dc:creator>isuk</dc:creator>
			<guid isPermaLink="false">24280@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Validation code should be placed in the functions.php for your theme (so that it'll survive GF updates).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brandrune on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24275</link>
			<pubDate>Wed, 27 Apr 2011 13:01:22 +0000</pubDate>
			<dc:creator>Brandrune</dc:creator>
			<guid isPermaLink="false">24275@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In reference to David's post which seems a great way of doing it, would you be able to tell me where I need to place a validation code.  &#60;/p&#62;
&#60;p&#62;This really is our only struggle so any extra help would be appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brandrune on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24266</link>
			<pubDate>Wed, 27 Apr 2011 12:21:18 +0000</pubDate>
			<dc:creator>Brandrune</dc:creator>
			<guid isPermaLink="false">24266@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Would it be rude to ask the following?&#60;/p&#62;
&#60;p&#62;a) Where would you put the code to unhash the value?&#60;br /&#62;
b) How would you insert the unhashed value into the form object that we need?&#60;br /&#62;
c) Would you be able to help choose a hash/algorithm to do this?&#60;br /&#62;
d) Could you help with any examples?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24263</link>
			<pubDate>Wed, 27 Apr 2011 12:14:10 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">24263@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You might consider adding a hidden field to your quote form that would always be empty during the submission, but would be manually updated through the GF Edit Entry admin ( &#60;a href=&#34;http://grab.by/9YWW&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9YWW&#60;/a&#62; ) with the base price you've determined for that entry.&#60;/p&#62;
&#60;p&#62;Now, assuming that you know the entry ID of the quote form entry, you can use the &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;gform_validation&#60;/a&#62; hook to query the GF entry database to confirm that the base price submitted form the second form is the same price you attached to the original quote entry.&#60;/p&#62;
&#60;p&#62;This is an advanced customization of GF so you may need to hire a developer to assist you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24258</link>
			<pubDate>Wed, 27 Apr 2011 12:04:19 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24258@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Because passing data in the query string in plain text is able to be manipulated, if you can see it and understand it you can easily change it, you would have to approach this a different way.  Unfortunately it would require more PHP knowledge to implement.&#60;/p&#62;
&#60;p&#62;You would have to encrypt/hash the value of the base cost so it can't be manipulated.  The link would pass a hashed value that isn't human readable.  You would then have to write PHP code to decrypt/unhash that value on the 2nd form.  So what you want to do is a little more complex and is going to take PHP knowledge to implement.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brandrune on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24255</link>
			<pubDate>Wed, 27 Apr 2011 11:58:26 +0000</pubDate>
			<dc:creator>Brandrune</dc:creator>
			<guid isPermaLink="false">24255@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Basically the concept is that a customer comes to the site, fills out a quote form.  We then email them back manually a quote with a base cost for the site and a link to another form to add extras to their website.  The base cost would ideally be inserted into the second form in a read only field which as per the above, we have actually achieved, however although not completely important we would still like help in how to go about this.&#60;/p&#62;
&#60;p&#62;We have a team that have limited amounts of PHP knowledge so any help given would be appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Read Only Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/read-only-fields#post-24252</link>
			<pubDate>Wed, 27 Apr 2011 11:52:25 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24252@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Passing the value in the query string isn't a good way to do what you want to do precisely because of what you described.  You would want to use PHP to populate the value.  Where is the value coming from?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
