<?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: form validation time field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field</link>
		<description>Gravity Support Forums Topic: form validation time field</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 14:15:22 +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/form-validation-time-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-92222</link>
			<pubDate>Sat, 17 Nov 2012 02:43:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">92222@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry we could not work it out.  If you need more help, please open a new topic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-91564</link>
			<pubDate>Thu, 15 Nov 2012 14:51:02 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">91564@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I updated the GF plugin on a development server behind our firewall and then modified my code like such...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (($field[&#38;#39;id&#38;#39;] == &#38;#39;13_1&#38;#39;) or ($field[&#38;#39;id&#38;#39;] == &#38;#39;13_2&#38;#39;) or ($field[&#38;#39;id&#38;#39;] == &#38;#39;13_3&#38;#39;)) {
	$field[&#38;#39;failed_validation&#38;#39;] = true;
	$field[&#38;#39;validation_message&#38;#39;] = $result[&#38;#39;message&#38;#39;][&#38;#39;begin_time&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But this still does not highlight the time fields  or display the appropriate begin time validatoin message. I just get the general validation error that indicates to see the highlighted items below with nothing highlighted below in the form. &#60;/p&#62;
&#60;p&#62;Since it looks like we are going to move this particular room scheduling form to another system, I am not going to spend any more time trying to resolve this issue. Thanks for the help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-90445</link>
			<pubDate>Mon, 12 Nov 2012 23:30:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">90445@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible for you to update both WordPress and Gravity Forms?  It looks like you're using an older version of jQuery and Gravity Forms at least. Several fixes were implemented in later versions regarding highlighting validation errors and I want to make sure the code you're using is current.  I understand in your environment you might not be able to upgrade with rigorous testing, but if you can upgrade, we can at least test with the very latest versions.&#60;/p&#62;
&#60;p&#62;However, all that aside, it looks like the hours are 13_1 and the minutes are 13_2 (for line 18 of your code) and 14_1 and 14_2 for line 24 of your code.  If you look at the source of the page, you will see the ids for the individual ids in your time elements.   (13_3 and 14_3 are the am/pm drop downs.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-90147</link>
			<pubDate>Mon, 12 Nov 2012 09:13:02 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">90147@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is just a reminder that I had authentication restriction removed from this form so you could look at it. My systems administrator doesn't want this left open too long. If you could get a chance to look at the issue with highlighting the time field I would appreciate it. Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-87597</link>
			<pubDate>Mon, 05 Nov 2012 13:09:07 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">87597@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Access to the URL in the previous post should work now without having to enter a user id and password. You can see the problem I'm having by selecting a time range that is in the morning when the room is not available to grad students. The validation appears to work and not allow the form to be submitted. But the time fields do not get highlighted. I appreciate any help on figuring out what I'm missing.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Jack
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-87249</link>
			<pubDate>Sun, 04 Nov 2012 12:29:44 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">87249@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is the location of the form on a test server which should be accessible outside of the institution:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://wwwtest.library.virginia.edu/services/graduate-conference-room/request/&#34; rel=&#34;nofollow&#34;&#62;https://wwwtest.library.virginia.edu/services/graduate-conference-room/request/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, I believe you will not be able to access it because of authentication restrictions. So give me a couple of days to get my system administrator to open up access to the form for you to be able to see it.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-83268</link>
			<pubDate>Wed, 24 Oct 2012 10:14:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83268@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have a current URL where we can check this,?  We'll need to see the field IDs to help you highlight the right ones.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-82046</link>
			<pubDate>Thu, 18 Oct 2012 12:53:30 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">82046@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I never did get any response about how to get the time fields to highlight or what I might be doing wrong in my code. Has anyone done custom validation with time fields that might provide some insight on how I can get the fields to highlight when validation fails?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-63343</link>
			<pubDate>Fri, 22 Jun 2012 13:10:55 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">63343@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The URL above is no long valid for checking this issue. Sorry about that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "form validation time field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-validation-time-field#post-62794</link>
			<pubDate>Sun, 17 Jun 2012 16:58:49 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">62794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can view the form to see the issue I'm having:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://preview.lib.virginia.edu/services/graduate-student-conference-room/&#34; rel=&#34;nofollow&#34;&#62;http://preview.lib.virginia.edu/services/graduate-student-conference-room/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you agree to the terms and go the second page, then you can select a date and times that are not allowed for that day of the week. When you submit the form, my validation will work. You get returned to the form but the time fields are not highlighted as the error message indicates.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
