<?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: Custom Validate Name (don&#039;t allow numbers)</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-validate-name-dont-allow-numbers</link>
		<description>Gravity Support Forums Topic: Custom Validate Name (don&#039;t allow numbers)</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 11:41:18 +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/custom-validate-name-dont-allow-numbers" rel="self" type="application/rss+xml" />

		<item>
			<title>BandonRandon on "Custom Validate Name (don&#039;t allow numbers)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-validate-name-dont-allow-numbers#post-22487</link>
			<pubDate>Tue, 05 Apr 2011 01:40:09 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">22487@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, that did the trick. I put in a feature request here &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/simple-custom-validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/simple-custom-validation&#60;/a&#62; to request this process be simpler. I also have a quick question with custom validation like &#60;code&#62;$form[&#38;quot;fields&#38;quot;][4][&#38;quot;failed_validation&#38;quot;] = true;&#60;/code&#62; where does the &#60;code&#62;[4]&#60;/code&#62; come from? I know that's where the validation shows up but it seems to be independent from field number. From what I've gathered it's the position of the field starting with 0 so 4 would be the 3rd input field. Is this correct?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Custom Validate Name (don&#039;t allow numbers)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-validate-name-dont-allow-numbers#post-22397</link>
			<pubDate>Mon, 04 Apr 2011 11:33:11 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">22397@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Brooke,&#60;/p&#62;
&#60;p&#62;$_POST keys for radio, checkboxes, and advanced fields containing multiple inputs will follow this format:&#60;/p&#62;
&#60;p&#62;input_{field_id}_{input_index}&#60;/p&#62;
&#60;p&#62;So if the field's name is &#34;input_2.3&#34;, this could be access in the $_POST like this: $_POST['input_2_3'].
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Custom Validate Name (don&#039;t allow numbers)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-validate-name-dont-allow-numbers#post-22361</link>
			<pubDate>Sun, 03 Apr 2011 22:29:44 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">22361@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let's say I have a form and I am using &#60;code&#62;gform_validation&#60;/code&#62; and the name advanced field(because I do) that is outputing &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;input type=&#38;quot;text&#38;quot; tabindex=&#38;quot;1&#38;quot; value=&#38;quot;&#38;quot; id=&#38;quot;input_4_2.3&#38;quot; name=&#38;quot;input_2.3&#38;quot;&#38;gt;
&#38;lt;input type=&#38;quot;text&#38;quot; tabindex=&#38;quot;2&#38;quot; value=&#38;quot;&#38;quot; id=&#38;quot;input_4_2.6&#38;quot; name=&#38;quot;input_2.6&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With my other custom validation i'm able to use &#60;code&#62;$_POST[input_4_#];&#60;/code&#62; but for some reason &#60;code&#62;$_POST[input_4_2.3];&#60;/code&#62; dosen't work. &#60;/p&#62;
&#60;p&#62;Really all I want to do is not allow people to use numbers as their name. This should be a simple regex I just need to figure out how to get the Value of input 4_2.6 and 4_2.3. &#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
