<?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: Bug found in Dynamically creating conditional logic &#38; required fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/bug-found-in-dynamically-creating-conditional-logic-required-fields</link>
		<description>Gravity Support Forums Topic: Bug found in Dynamically creating conditional logic &amp; required fields</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:18:00 +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/bug-found-in-dynamically-creating-conditional-logic-required-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>44pixels on "Bug found in Dynamically creating conditional logic &#38; required fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-found-in-dynamically-creating-conditional-logic-required-fields#post-47061</link>
			<pubDate>Sat, 21 Jan 2012 17:52:05 +0000</pubDate>
			<dc:creator>44pixels</dc:creator>
			<guid isPermaLink="false">47061@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bump, I am having this same issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bazchas on "Bug found in Dynamically creating conditional logic &#38; required fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-found-in-dynamically-creating-conditional-logic-required-fields#post-46215</link>
			<pubDate>Thu, 12 Jan 2012 08:49:48 +0000</pubDate>
			<dc:creator>bazchas</dc:creator>
			<guid isPermaLink="false">46215@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have created a field that shows or hides based on conditional logic that I generate myself using the $field['conditionalLogic'] item, the conditional logic works fine to show or hide fields.&#60;/p&#62;
&#60;p&#62;I think there are two bugs in the system.&#60;/p&#62;
&#60;p&#62;1. When the field I have set dynamic conditionalLogic on is set to be required within the UI this doesn't present the same logic as when you setup conditional logic within the form.  So when that field is hidden the requirement for a value isn't needed, this is what I could expect when I setup my own  $field['conditionalLogic'] item.&#60;/p&#62;
&#60;p&#62;2. On discovering the first issue I decided to override the field validation myself using  gform_field_validation_x_y and checking to see if that field was hidden or not. However I believe there is an issue with checking that field is hidden when processing a gform_field_validation .  I have used gform_field_validation_x_y before to process custom validation on required fields.&#60;br /&#62;
However when I use RGFormsModel::is_field_hidden to check if the field if hidden with in the custom function it is always returning false(bool).&#60;/p&#62;
&#60;p&#62;function fieldValidationCheckHiddenFixed($result, $value, $form, $field){&#60;br /&#62;
    $is_hidden = RGFormsModel::is_field_hidden($form, $field, array());&#60;br /&#62;
    var_dump($is_hidden);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Can you let me know if these two items are bugs within GravityForms or am I doing something incorrectly?&#60;/p&#62;
&#60;p&#62;Regards
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
