<?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: validation and default value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value</link>
		<description>Gravity Support Forums Topic: validation and default value</description>
		<language>en-US</language>
		<pubDate>Sun, 12 Apr 2026 17:38:15 +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/validation-and-default-value" rel="self" type="application/rss+xml" />

		<item>
			<title>GregR on "validation and default value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value#post-44872</link>
			<pubDate>Fri, 23 Dec 2011 01:28:10 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">44872@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;br /&#62;
thank you very much&#60;br /&#62;
message sent&#60;br /&#62;
thanks a lot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "validation and default value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value#post-44866</link>
			<pubDate>Fri, 23 Dec 2011 01:05:02 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">44866@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you export that form as XML and email it to me at &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; and I will take a look at it?  Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "validation and default value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value#post-44778</link>
			<pubDate>Thu, 22 Dec 2011 04:02:52 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">44778@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;no idea? I'm stuck here and I have hard time to understand why values are not blank
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "validation and default value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value#post-44520</link>
			<pubDate>Tue, 20 Dec 2011 10:17:18 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">44520@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greetings Chris&#60;/p&#62;
&#60;p&#62;Thank you for your answer&#60;/p&#62;
&#60;p&#62;I have been to the link, and I already followed the advise to enable value blanck for the first option.&#60;br /&#62;
that is actually what I did on the code I sent here.&#60;br /&#62;
but it seems that it auto feed the option value&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//Adding initial blank value.
    $items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;Select the destination&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);
	$items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;----------------------&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I thought that would have print me&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;option value=&#38;#39;&#38;#39; &#38;gt;Select the destination&#38;lt;/option&#38;gt;
&#38;lt;option value=&#38;#39;&#38;#39; &#38;gt;----------------------&#38;lt;/option&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and THAT would have fired me an error, I guess&#60;/p&#62;
&#60;p&#62;BUT&#60;br /&#62;
actualy it prints me the following&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;option value=&#38;#39;Select the destination&#38;#39; &#38;gt;Select the destination&#38;lt;/option&#38;gt;
&#38;lt;option value=&#38;#39;----------------------&#38;#39; &#38;gt;----------------------&#38;lt;/option&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;which validate&#60;/p&#62;
&#60;p&#62;any idea why my snipet does not work? why the option value is auto poluated with the &#34;text&#34; value&#60;/p&#62;
&#60;p&#62;thank you in advance for your help
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "validation and default value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value#post-44496</link>
			<pubDate>Tue, 20 Dec 2011 02:33:06 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">44496@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please see this:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/required-fields-1#post-27364&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/required-fields-1#post-27364&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can enable values and leave the value blank for the first option.  Does that help you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "validation and default value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-and-default-value#post-44318</link>
			<pubDate>Sun, 18 Dec 2011 03:30:43 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">44318@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greetings&#60;/p&#62;
&#60;p&#62;I have a form with a text field for name,&#60;br /&#62;
I don't want to have a label for the field (so that in CSS I use a display none)&#60;br /&#62;
in the advanced section of the field editor I use the 'default value' that prepoluate the field with the value 'name'&#60;/p&#62;
&#60;p&#62;my problem now is that if the user press the submit menu without changing 'name' to his name, the field will still validate&#60;/p&#62;
&#60;p&#62;how can I do to avoid that behaviour while still using the default value, is there a blacklist word or something similar that would make the field not validate?&#60;/p&#62;
&#60;p&#62;I face the very same problem with a select menu where I have used&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php
 //Creating drop down item array.
    $items = array();

    //Adding initial blank value.
    $items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;Select the destination&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);
	$items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;----------------------&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;if people don't select a value, then it is a blank value, but still it validates&#60;/p&#62;
&#60;p&#62;Thank you in advance for your assistance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
