<?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: Pre Submission Validation &#38; Disabling Submit Button</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre-submission-validation-disabling-submit-button</link>
		<description>Gravity Support Forums Topic: Pre Submission Validation &amp; Disabling Submit Button</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Apr 2026 09:42:05 +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/pre-submission-validation-disabling-submit-button" rel="self" type="application/rss+xml" />

		<item>
			<title>kausar on "Pre Submission Validation &#38; Disabling Submit Button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-submission-validation-disabling-submit-button#post-38278</link>
			<pubDate>Wed, 19 Oct 2011 09:43:07 +0000</pubDate>
			<dc:creator>kausar</dc:creator>
			<guid isPermaLink="false">38278@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;See the below form&#60;br /&#62;
&#60;a href=&#34;http://hidayahsoft.com/demo/?page_id=2&#34; rel=&#34;nofollow&#34;&#62;http://hidayahsoft.com/demo/?page_id=2&#60;/a&#62;&#60;br /&#62;
I have created it using GF and i like the way it works.&#60;br /&#62;
If you notice that I have two textboxes (number boxes) named as&#60;br /&#62;
Estimated Market Value of Property ($)*  and  Requested Loan Amount ($)*&#60;br /&#62;
I have a validation done on them, some 3 types of validations depending on the value of the element input_1 .&#60;/p&#62;
&#60;p&#62;I wish i could do something like conditional logic i have done on the bottom radio buttons. If you see if user chooses &#34;NO&#34;, the HTML element comes up and the Submit button hides . I wish same thing happens for the textboxes i named above. Meaning when i type say 222222222 no in textbox 2 while i'm still typing i get error msg , PRESUBMISSION thing.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pre Submission Validation &#38; Disabling Submit Button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-submission-validation-disabling-submit-button#post-38235</link>
			<pubDate>Tue, 18 Oct 2011 18:08:43 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38235@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can add that JavaScript to the page with a form like any other page.  Would that work in this situation?  Sounds like you want to have it happen on the client side, before the form is actually submitted.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kausar on "Pre Submission Validation &#38; Disabling Submit Button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-submission-validation-disabling-submit-button#post-38204</link>
			<pubDate>Tue, 18 Oct 2011 13:11:06 +0000</pubDate>
			<dc:creator>kausar</dc:creator>
			<guid isPermaLink="false">38204@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;Thanks for the quick reply. Well my question was different. What I need is something like this&#60;br /&#62;
Using Javascript i would have done it like below&#60;br /&#62;
textbox2 :  OnChange=&#34;validateFunc();&#34;  and this validateFunc has code in it to give an error message and also disable or hide the submit button.&#60;br /&#62;
How can i do it here ?&#60;br /&#62;
I hope i make a sense.&#60;br /&#62;
Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pre Submission Validation &#38; Disabling Submit Button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-submission-validation-disabling-submit-button#post-38201</link>
			<pubDate>Tue, 18 Oct 2011 12:59:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38201@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can do whatever sort of validation you want using the gform_validation filter.  It's documented here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kausar on "Pre Submission Validation &#38; Disabling Submit Button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-submission-validation-disabling-submit-button#post-38195</link>
			<pubDate>Tue, 18 Oct 2011 12:43:21 +0000</pubDate>
			<dc:creator>kausar</dc:creator>
			<guid isPermaLink="false">38195@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;My question is that I have a text box which will be filled with a number say 123456 and then another text box which will be filled by another number say 154689. What my requirement is that when i enter the value in second box , if its higher than 80% of the value in Txtbox1 , an error gets generated and the submit button gets disabled.&#60;/p&#62;
&#60;p&#62;Can this be done by using any hooks ?&#60;/p&#62;
&#60;p&#62;Also another request is that the form has a conditional logic set to show/hide the submit button, but i feel it would have been great to see an option of just &#34;Disabled&#34; too.&#60;/p&#62;
&#60;p&#62;I look fwd for an early reply.&#60;/p&#62;
&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
