<?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 User Favorites: wheatoncollege</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/wheatoncollege'>wheatoncollege</a></link>
		<description>Gravity Support Forums User Favorites: wheatoncollege</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 16:22:30 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>Wheaton College on "Create new fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-new-fields#post-7136</link>
			<pubDate>Thu, 08 Jul 2010 12:19:59 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">7136@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks again for this. I found some other sample code which seems to do the trick for separate &#38;lt;select&#38;gt; fields:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/drop-down-value-different-than-content-text&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/drop-down-value-different-than-content-text&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But, I can't get this to work for the &#34;Country&#34; which is part of an 'address field.'&#60;/p&#62;
&#60;p&#62;The id is something like 9.6. &#60;/p&#62;
&#60;p&#62;Seems as though the countries are hard-coded, in a way. &#60;/p&#62;
&#60;p&#62;Any ideas?&#60;/p&#62;
&#60;p&#62;(Of course, Carl did say this was not possible...)&#60;/p&#62;
&#60;p&#62;Thanks-&#60;br /&#62;
Bill
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Create new fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-new-fields#post-7128</link>
			<pubDate>Thu, 08 Jul 2010 11:09:36 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">7128@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very interesting, thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Create new fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-new-fields#post-6927</link>
			<pubDate>Fri, 02 Jul 2010 07:57:27 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">6927@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;...but you can update the content of these fields before the form is rendered use the Gravity Forms &#34;gform_pre_render_*formid*&#34; hook. Here is a sample of its usage pulled from the Gravity Forms change log:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_pre_render_17&#38;quot;, test_render); //Adds a filter to form id 17. It is also possible to use gform_pre_render to filter every form
        function test_render($form){
            $form[&#38;quot;fields&#38;quot;][1][&#38;quot;isRequired&#38;quot;] = true; //Dynamically marks a field (id=1) as required
            return $form;
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I've used this function several times when needing to update the values available for a particular field in the form. You could similarly replace the default list of states/provinces with your own using this hook.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Create new fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-new-fields#post-6912</link>
			<pubDate>Thu, 01 Jul 2010 18:25:33 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">6912@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Create new fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-new-fields#post-6851</link>
			<pubDate>Wed, 30 Jun 2010 11:21:08 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">6851@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently it is not possible, however we do plan on adding some hooks down the road that would allow you to do this.  It's on our to do list.  But it probably won't be in the next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Create new fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-new-fields#post-6848</link>
			<pubDate>Wed, 30 Jun 2010 09:21:57 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">6848@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, is it possible to create our own fields? &#60;/p&#62;
&#60;p&#62;I'd like to tweak the address field that is included with Gravity Forms, changing some of the defaults. We have our own list of states/provinces and countries that we need to use.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Roles and capabilities - granting permissions to editors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/roles-and-capabilities-granting-permissions-to-editors#post-6761</link>
			<pubDate>Mon, 28 Jun 2010 12:00:55 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">6761@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@AspectWD If you want role management you don't have to write it yourself.  Gravity Forms integrates with the Members plugin which adds complete role management to WordPress.&#60;/p&#62;
&#60;p&#62;You can download it here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/members/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/members/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Justin Walmsley on "Roles and capabilities - granting permissions to editors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/roles-and-capabilities-granting-permissions-to-editors#post-6755</link>
			<pubDate>Mon, 28 Jun 2010 05:00:50 +0000</pubDate>
			<dc:creator>Justin Walmsley</dc:creator>
			<guid isPermaLink="false">6755@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys, &#60;/p&#62;
&#60;p&#62;Looks like a great solution, &#60;/p&#62;
&#60;p&#62;I'm still trying to get to grips with PHP, I want to add the same functions for editors on my WP site.&#60;/p&#62;
&#60;p&#62;@wheatoncollege could you past the code that you ended up using as mine is returning errors.&#60;/p&#62;
&#60;p&#62;Really appreciate it. &#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Roles and capabilities - granting permissions to editors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/roles-and-capabilities-granting-permissions-to-editors#post-6209</link>
			<pubDate>Wed, 09 Jun 2010 15:40:30 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">6209@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;excellent, thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Roles and capabilities - granting permissions to editors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/roles-and-capabilities-granting-permissions-to-editors#post-6208</link>
			<pubDate>Wed, 09 Jun 2010 15:24:24 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">6208@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your method above will work. A couple of notes:&#60;/p&#62;
&#60;p&#62;To test if Gravity Forms is active, use:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(class_exists(&#38;quot;RGForms&#38;quot;)){
...
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Also, it is probably not good form to call $role-&#38;gt;add_cap('....') at every request. You may want to use the theme activation hook so that your code only runs when the theme gets activated, or you can implement your own logic with an option. Something like&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if( ! get_option(&#38;#39;has_loaded_permissions&#38;#39;, true) ){
   //permissions have not been set, set them now
  $role = get_role( &#38;#39;editor&#38;#39; );
  $role-&#38;gt;add_cap( &#38;#39;gravityforms_create_form&#38;#39; );
  .......
  .......

  //update option so that we don&#38;#39;t set the permissions again
  update_option(&#38;#39;has_loaded_permissions&#38;#39;, true);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I hope this helps.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
