<?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 text fields</title><link>https://community.appian.com/discussions/f/user-interface/26626/validate-text-fields</link><description>Hi Team, 
 how to validate below scenarios 
 
 
 a!localVariables( i have A,B,C,D Values and 
 local!name, 
 if local!name = &amp;quot;X&amp;quot; then values should be A&amp;gt;B&amp;gt;C&amp;gt;D and if local!name = &amp;quot;Z&amp;quot; then it should validate A&amp;lt;B&amp;lt;C&amp;lt;D and in any other local!name value it</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104554?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 04:39:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c26fba4-134c-4339-9118-9258ea5e3bb8</guid><dc:creator>udayasai</dc:creator><description>&lt;p&gt;Hi Mike, I understand you, I implemented this with multiple if conditions but i would like to see if i get any other function or logic which can be used instead of multiple lines of if code&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104544?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 18:38:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b3323ec-1cff-407d-b5a5-7d2a0a819a64</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;this should be trivially easy to do using conditional logic in &lt;a href="https://docs.appian.com/suite/help/22.3/Appian_Functions.html"&gt;Appian expressions&lt;/a&gt;, i.e. by using nested if() commands, or using the and() command, or by potentially a few other ways.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nobody here will really have the time to both try to figure out the subtleties of your use case and also come up with expression logic for you, particularly when we&amp;#39;re a little fuzzy on what your exact desired logic is (since that would mean we could be wasting our time coming up with something completely wrong for what you&amp;#39;re actually asking about).&lt;/p&gt;
&lt;p&gt;Instead if you could post some sample code for what you&amp;#39;ve already tried, and exactly how it&amp;#39;s not behaving the way you expected, we&amp;#39;re usually happy to help fix those sorts of issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104543?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 16:20:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01536104-f040-429b-b287-73d6e31fb0e5</guid><dc:creator>udayasai</dc:creator><description>&lt;p&gt;ok let me make simple, Please find attached screen shot, I have table with Value columns&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if user try to update config name profile_A then it should validate&amp;nbsp;profile_A&amp;gt;profile_B&amp;gt;profile_C&amp;gt;profile_D&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If user update case_A config name then&amp;nbsp;Case_A&amp;lt;Case_B&amp;lt;Case_C&amp;lt;Case_D should validate&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1669047572622v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104542?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 15:51:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23b255a4-16a5-4ff3-9b06-4ff65b0802a5</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;And will there always/only ever be four text boxes? Or is it a variable number?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104541?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 15:51:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac47bf2a-af1a-4f6d-a0d0-bc4b5a8fc525</guid><dc:creator>udayasai</dc:creator><description>&lt;p&gt;I am pulling A,B,C,D values from db and trying to update them&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104540?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 15:50:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c39614b0-a23e-4eeb-9993-11d63d6665e5</guid><dc:creator>udayasai</dc:creator><description>&lt;p&gt;no your wrong, we have multiple text boxes for each A,B,C,D and if user enter B then it should validate less than C,D and greater than A&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104539?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 15:43:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a6498abf-a430-4a98-8386-f90b6ec41848</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;It sounds like you are planning to have a single text box into which the user can input one or more numeric values. How many can they input? What will you use as a separator? What is the biggest / smallest number they can input? (Can they enter: &amp;quot;5 99 -33 6863748&amp;quot;? How many can they they input? (I ask all these questions because I have doubts that using a single input test file dis the bets design here. Are you able to elaborate on the bigger picture? What&amp;#39;s the purpose? What will you use those values for? What do the values represent?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104537?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 15:38:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1accc7ae-7009-486a-a718-b29434e76c9b</guid><dc:creator>udayasai</dc:creator><description>&lt;p&gt;it contains values which will be entered by user&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;example : A = 1, B= 3,C= 10,D= 4&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I should validate based on above conditions if not it should show validation message to user&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validate text fields</title><link>https://community.appian.com/thread/104536?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 15:35:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:80672eb4-4890-41f7-afda-ba7b28d596ec</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what you mean by &amp;quot;&lt;span&gt;A&amp;gt;B&amp;gt;C&amp;gt;D&amp;quot; or &amp;quot;A&amp;lt;B&amp;lt;C&amp;lt;D&amp;quot; ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>