<?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: auto generate digit and check if its correct?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct</link>
		<description>Gravity Support Forums Topic: auto generate digit and check if its correct?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:36:20 +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/auto-generate-digit-and-check-if-its-correct" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "auto generate digit and check if its correct?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct#post-71125</link>
			<pubDate>Wed, 15 Aug 2012 07:24:40 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">71125@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, I get the Yes/No radio button.&#60;/p&#62;
&#60;p&#62;I see that a text field has to appear after ticking &#34;Yes&#34;.  Where does the number come from which should be prefilled there?&#60;/p&#62;
&#60;p&#62;And what determines if there is a match?  Are the numbers the same?  That does not seem to make sense to me, as they would just type in what they see on screen.  So, are there pairs of numbers stored somewhere, and the pairs need to be matched before they can continue?&#60;/p&#62;
&#60;p&#62;Do you have an example of the data that will be used?  Maybe we can determine how it needs to work if we can see a sample of the data. Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ritchie on "auto generate digit and check if its correct?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct#post-71113</link>
			<pubDate>Wed, 15 Aug 2012 05:21:04 +0000</pubDate>
			<dc:creator>Ritchie</dc:creator>
			<guid isPermaLink="false">71113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry i don't have a online example :S&#60;/p&#62;
&#60;p&#62;I wil try to explain it better.&#60;/p&#62;
&#60;p&#62;On some point in a form the user must file in a radio checkbox with the options YES or NO.&#60;br /&#62;
If the user chooses YES then a new textfield must appear with a prefilled digit-code.&#60;/p&#62;
&#60;p&#62;The digit-code that's displayed the user must fill in a numeric field (and then it must be crossreverenge to check if the code is the correct one).&#60;/p&#62;
&#60;p&#62;When the check is correct, then the customer can send the form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "auto generate digit and check if its correct?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct#post-71101</link>
			<pubDate>Wed, 15 Aug 2012 00:57:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">71101@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure I understand. Can you please provide more details, and include a link to any examples you may have online.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ritchie on "auto generate digit and check if its correct?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct#post-70980</link>
			<pubDate>Tue, 14 Aug 2012 08:21:45 +0000</pubDate>
			<dc:creator>Ritchie</dc:creator>
			<guid isPermaLink="false">70980@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;hi there,&#60;/p&#62;
&#60;p&#62;I need to publish an automatic populate numeric field and then this numeric must be filled (and controled -&#38;gt; is it the correct numeric) in before the form can be send..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "auto generate digit and check if its correct?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct#post-70977</link>
			<pubDate>Tue, 14 Aug 2012 08:07:12 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">70977@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Totalprofile, what do you need to do exactly?    &#60;/p&#62;
&#60;p&#62;Here is some code which takes a value input by a visitor, checks against a list of numbers (which was stored in a text file on the server) and returns a validation error if there is no match:  &#60;a href=&#34;http://pastebin.com/7ANQh6Rc&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/7ANQh6Rc&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is the discussion of that solution:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/forcing-a-field-to-only-accept-registered-usernames-of-a-spesific-role-as-input&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/forcing-a-field-to-only-accept-registered-usernames-of-a-spesific-role-as-input&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is a page where the form is in use: &#60;a href=&#34;http://gravity.chrishajer.com/verify-your-code/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/verify-your-code/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can use 117237739 or 116482217 as valid numbers (these numbers exist in the file.)&#60;/p&#62;
&#60;p&#62;I think I did something funny with the confirmation, so you can ignore that.  An invalid code will show a validation error.  Success will just direct the visitor to the home page of the site, with the code appended to the query string (check the address bar.)  That was for some other demo I believe.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ritchie on "auto generate digit and check if its correct?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-generate-digit-and-check-if-its-correct#post-70951</link>
			<pubDate>Tue, 14 Aug 2012 05:37:47 +0000</pubDate>
			<dc:creator>Ritchie</dc:creator>
			<guid isPermaLink="false">70951@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I need the same solution as asked on topic: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/validation#post-40648&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/validation#post-40648&#60;/a&#62;;&#60;/p&#62;
&#60;p&#62;Chris says that he hase done this:&#60;br /&#62;
&#34;I have done this, check an entered value against a database value to see if it's valid. After you make your purchase I will be happy to help you implement it. There are several code examples here that explain how it was done.&#34;&#60;/p&#62;
&#60;p&#62;Is there a tutorial of this??&#60;/p&#62;
&#60;p&#62;Thnx
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
