<?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: Allow HTML in field label</title>
		<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label</link>
		<description>Gravity Support Forums Topic: Allow HTML in field label</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:08:14 +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/allow-html-in-field-label" rel="self" type="application/rss+xml" />

		<item>
			<title>jkovach on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-19973</link>
			<pubDate>Sat, 05 Mar 2011 00:15:54 +0000</pubDate>
			<dc:creator>jkovach</dc:creator>
			<guid isPermaLink="false">19973@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How embarrassing...&#60;/p&#62;
&#60;p&#62;Thanks Carl!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-19930</link>
			<pubDate>Fri, 04 Mar 2011 14:58:22 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19930@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@jkovach It isn't working because you are closing the link before it even displays Terms and Conditions because you have a / at the end of the initial anchor container.&#60;/p&#62;
&#60;p&#62;You have:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	jQuery(document).ready(function() {
 		jQuery(&#38;quot;.gchoice_46_1 label&#38;quot;).html(&#38;#39;I have read and agree to Athleticode&#38;#39;s &#38;lt;a href=&#38;quot;http://www.athleticode.com/terms-conditions/&#38;quot; target=&#38;quot;blank&#38;quot; /&#38;gt;Terms &#38;amp; Conditions&#38;lt;/a&#38;gt;.&#38;#39;);
	});
 &#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You need to remove the / that appears after the target in the link above.  So it looks like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	jQuery(document).ready(function() {
 		jQuery(&#38;quot;.gchoice_46_1 label&#38;quot;).html(&#38;#39;I have read and agree to Athleticode&#38;#39;s &#38;lt;a href=&#38;quot;http://www.athleticode.com/terms-conditions/&#38;quot; target=&#38;quot;blank&#38;quot;&#38;gt;Terms &#38;amp; Conditions&#38;lt;/a&#38;gt;.&#38;#39;);
	});
 &#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jkovach on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-19920</link>
			<pubDate>Fri, 04 Mar 2011 13:14:33 +0000</pubDate>
			<dc:creator>jkovach</dc:creator>
			<guid isPermaLink="false">19920@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey guys,&#60;/p&#62;
&#60;p&#62;Here is a link to the form I'm working on: &#60;a href=&#34;http://www.athleticode.com/register/&#34; rel=&#34;nofollow&#34;&#62;http://www.athleticode.com/register/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The jQuery is working, because the checkbox wouldn't have a label otherwise, but for some reason the link is just appearing as text...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-19907</link>
			<pubDate>Fri, 04 Mar 2011 12:38:43 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19907@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@jkovach That code does work with checkbox labels, I just used it exactly as is.  Here is a screenshot of the result:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/9i3m&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9i3m&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;One thing to make sure is jQuery has to be present for that code to work.  So if you implemented the code in your theme template but jQuery isn't present, it's not going to work.  &#60;/p&#62;
&#60;p&#62;If you post a link to the page where you have implemented this we can take a look and see what is going on.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-19905</link>
			<pubDate>Fri, 04 Mar 2011 12:31:57 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">19905@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;HTML worked just fine the last time I tested it.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/how-to-add-hyperlinks-in-the-form#post-6838&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/how-to-add-hyperlinks-in-the-form#post-6838&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can also try Carl's suggestion (using the scrolling section break container style) noted here&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/terms-conditions-in-form#post-19649&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/terms-conditions-in-form#post-19649&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jkovach on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-19895</link>
			<pubDate>Fri, 04 Mar 2011 11:44:10 +0000</pubDate>
			<dc:creator>jkovach</dc:creator>
			<guid isPermaLink="false">19895@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Kevin,&#60;/p&#62;
&#60;p&#62;It appears your jQuery workaround doesn't allow for adding links to labels...any suggestions there?&#60;/p&#62;
&#60;p&#62;I've got a checkbox on my form with a label that reads: 'I have read and agree to the Terms &#38;amp; Conditions', but would like 'Terms &#38;amp; Conditions' to be a link.&#60;/p&#62;
&#60;p&#62;Thanks in advance!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-5565</link>
			<pubDate>Tue, 18 May 2010 23:27:05 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">5565@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It will be added in some future release. For now, you can add a little jQuery to your page template to add replace the label with new HTML content.. something like this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	jQuery(document).ready(function() {
 		jQuery(&#38;quot;.gchoice_5_1 label&#38;quot;).html(&#38;#39;this is a label with &#38;lt;em&#38;gt;italicized text&#38;lt;/em&#38;gt;&#38;#39;);
	});
 &#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;just view the form source and replace the &#34;gchoice_5_1&#34; with your actual field class name.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jochan on "Allow HTML in field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allow-html-in-field-label#post-5563</link>
			<pubDate>Tue, 18 May 2010 22:43:40 +0000</pubDate>
			<dc:creator>jochan</dc:creator>
			<guid isPermaLink="false">5563@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think this would be a convenience feature, for example be able to underline or emphasis certain text in the field label. I was trying to italic a book title which is part of a field label, but I couldn't.. instead I need to use quotes.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
