<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>validate hours</title><link>https://community.appian.com/discussions/f/general/14828/validate-hours</link><description>I have a form where I must enter the time of entry and exit (from 8 pm to 3:00 pm) and validations. 
 I want to validate a text field called &amp;quot;start time&amp;quot; where when entering. 
 What is done? 
 
 thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: validate hours</title><link>https://community.appian.com/thread/66400?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 09:12:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6f9fdf02-a8fb-46a9-aba1-13443e510549</guid><dc:creator>Alastr</dc:creator><description>&lt;p&gt;Thanks!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validate hours</title><link>https://community.appian.com/thread/66357?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 14:06:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2d06176-f163-43b6-9467-6d9d952115ad</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;a!textField(&lt;br /&gt; label: &amp;quot;end time&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; saveInto: {},&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: rule!yourRule(&lt;br /&gt; startTime:ri!startTime,&lt;br /&gt; endTime:ri!endTime&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validate hours</title><link>https://community.appian.com/thread/66354?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 14:04:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b432e2d-17dc-4baf-aeae-57cc403d4858</guid><dc:creator>Alastr</dc:creator><description>&lt;p&gt;&lt;span&gt;and then how do I call that rule to use it in an interface?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validate hours</title><link>https://community.appian.com/thread/66353?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 14:01:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e74341fd-5690-45f5-b515-1ad231d69fbd</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;Create a rule with two inputs as text 1)startTime 2)endTime&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;load(&lt;br /&gt; local!startTime: &amp;quot;9:00 AM&amp;quot;,&lt;br /&gt; local!endTime: &amp;quot;8:30 AM&amp;quot;,&lt;br /&gt; if(&lt;br /&gt; totime(&lt;br /&gt; local!endTime&lt;br /&gt; ) &amp;gt; totime(&lt;br /&gt; local!startTime&lt;br /&gt; ),&lt;br /&gt; &amp;quot;Valid&amp;quot;,&lt;br /&gt; &amp;quot;Not Valid&amp;quot;&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validate hours</title><link>https://community.appian.com/thread/66352?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 13:54:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1441093-7db6-480e-82bd-2aab5b0c4b59</guid><dc:creator>Alastr</dc:creator><description>&lt;pre class="tw-data-text tw-ta tw-text-small" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;&lt;span&gt;I want to enter two hours in two text fields. and validate the end time as: it must always be after the start time&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;a!textField(&lt;br /&gt; label: &amp;quot;start time&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; saveInto: {},&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; ),&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;end time&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; saveInto: {},&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; ),&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validate hours</title><link>https://community.appian.com/thread/66349?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 13:36:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b076e955-c935-4949-a207-3e5cc91bfca6</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;Hi Alastr,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Question is not clear ,can you please elaborate&amp;nbsp; it&lt;/p&gt;
&lt;p&gt;my understanding&amp;nbsp; you have two text fields where you can give start and end time&amp;nbsp;&lt;/p&gt;
&lt;p&gt;you need to validate those given values is time or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>