<?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 required fields</title><link>https://community.appian.com/discussions/f/user-interface/24519/validate-required-fields</link><description>Hi All, 
 Our Requirement is that we have two tabs in one Tab i have user Info on the another Tab is about filling Loan details . I have made certain fields required in both tabs.When I switching to another tab it is not validating the required fields</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Validate required fields</title><link>https://community.appian.com/thread/94751?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 16:52:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05f28995-bca8-4365-8eff-3f1dbbdcd982</guid><dc:creator>Divya</dc:creator><description>&lt;p&gt;Thanks Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate required fields</title><link>https://community.appian.com/thread/94733?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 14:02:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9ec8b1b-fdc9-490e-95be-bacc6464e7d9</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You&amp;#39;ll have to do the validation &amp;quot;manually&amp;quot; in this case.&amp;nbsp; A favorite way of mine is to create a &amp;quot;Validation rule&amp;quot; (expression rule) which takes as inputs basically all the data (CDTs, etc) the user is in charge of populating in any of the tabs, and does a simple/quick check that each required field is filled (and, if needed, valid in other ways).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You would then use this in a &lt;a href="/discussions/f/user-interface/24515/user-interface/94707#94707"&gt;section-level or form-level validation using &lt;em&gt;a!validationMessage()&lt;/em&gt; set to validate on &amp;quot;Submit&amp;quot;&lt;/a&gt;, and if any fields are missing/invalid on any not-currently-visible tab(s), the validation will inform the user that they need to check the other tab(s) for required / invalid fields.&amp;nbsp; If you toy with it enough, you might even be able to enhance this to where it could tell the user &lt;em&gt;which&lt;/em&gt; tab currently has issue(s), though TBH i&amp;#39;d shoot for handling the simpler version of this first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate required fields</title><link>https://community.appian.com/thread/94725?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 08:08:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1694b6e1-43a4-483b-a73b-8932fc0b08c3</guid><dc:creator>Divya</dc:creator><description>&lt;p&gt;Hi Gopalk,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have button only in one tab and to move to next tab directly clicking on the other tab link on the top.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;saidivya Minna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate required fields</title><link>https://community.appian.com/thread/94724?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 08:02:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67d744a6-c92b-415c-9a13-453b9e770af6</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi,Are you using button to go from one tab to another ? If yes then you can add your condition(basically combination of multiple validations for null check) on the button. So if any required fields are null then button will be disabled or on click you may consider creating an error using rich text. I hope it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>