<?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>Capture Appian Default Validation</title><link>https://community.appian.com/discussions/f/user-interface/18212/capture-appian-default-validation</link><description>Hi, 
 I have a link to be disabled depending on the values entered by the user. (Link should be disabled in case of any validation error). 
 I&amp;#39;m able to achieve the same for user-defined validations and not for Appian default ones. 
 For example, I have</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Capture Appian Default Validation</title><link>https://community.appian.com/thread/88460?ContentTypeID=1</link><pubDate>Tue, 30 Nov 2021 08:38:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f07de5c-44d6-4ecd-84c2-3d96b1b7d1ee</guid><dc:creator>danl0003</dc:creator><description>&lt;p&gt;Hi Vaisakh, I&amp;#39;m facing the same issue. Did you have any idea to resolve the problem? Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture Appian Default Validation</title><link>https://community.appian.com/thread/88459?ContentTypeID=1</link><pubDate>Tue, 30 Nov 2021 08:35:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e113dc1e-e3d3-4eef-ab49-5c95d16500ca</guid><dc:creator>danl0003</dc:creator><description>&lt;p&gt;Hi Vaisakh, I&amp;#39;m facing the same issue. Did you have any idea to resolve the problem? Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture Appian Default Validation</title><link>https://community.appian.com/thread/71655?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 11:34:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6010ef44-2a3b-401a-b457-98032d62951e</guid><dc:creator>Vaisakh V Sekhar</dc:creator><description>&lt;p&gt;Thanks Stewart!!&lt;/p&gt;
&lt;p&gt;Again, I wont be able to differentiate the scenarios&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. When the date field is empty&lt;/p&gt;
&lt;p&gt;2. When t&lt;span&gt;he date field&amp;nbsp;&lt;/span&gt;is having an Appian default validation&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as in both the cases, the local value remains false.&lt;/p&gt;
&lt;p&gt;The requirement for the link is that it should be &lt;strong&gt;disabled only when any validation error occur&lt;/strong&gt;.(user defined or Appian default)&lt;/p&gt;
&lt;p&gt;The link should remain enabled when the field is empty.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vaisakh Sekhar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture Appian Default Validation</title><link>https://community.appian.com/thread/71654?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 11:14:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7d7bf7f-10b5-417b-b494-ac2a5ea8f1e2</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;I created a very basic test interface where you can set a local!variable as a Boolean, initialised to false, which controls whether the link is disabled or not; and in the Date field an a!save() that saves true to this variable if the value of the variable for the date field a value, and saves false if the value of the date variable is null. The effect is that the link is disabled and remains disabled until you enter a valid date.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the test:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!isDateValid: false,
  {
    a!dateField(
      label: &amp;quot;My Date&amp;quot;,
      value: ri!myDate,
      saveInto: {
        ri!myDate,
        a!save(
          local!isDateValid,
          fn!not(fn!isnull(ri!myDate))
      )
    }
  ),
    a!checkboxField(
      disabled: true,    
      label: &amp;quot;Is Date Valid?&amp;quot;,
      choiceLabels: {&amp;quot;Yes&amp;quot;,&amp;quot;No&amp;quot;},
      choiceValues: {true, false},
      value: local!isDateValid
  )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture Appian Default Validation</title><link>https://community.appian.com/thread/71648?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 04:35:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f9edbf1-212d-4cf0-a247-0c8fd12774d4</guid><dc:creator>Vaisakh V Sekhar</dc:creator><description>&lt;p&gt;Thanks Mike !!&lt;/p&gt;
&lt;p&gt;Yes, no data is passed into the rule input.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to the requirement, the link should be disabled only when there is any validation error and not when the field is empty.&lt;/p&gt;
&lt;p&gt;Since a flag cannot be given for this scenario, I&amp;nbsp;am back to square one. Anyway i will try again .&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vaisakh Sekhar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture Appian Default Validation</title><link>https://community.appian.com/thread/71635?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:02:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8511f39-4fab-41be-bde1-6f6b24b6e33b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you&amp;#39;ll look at the actual saved value coming from the date field, I believe you&amp;#39;ll find in your screenshot example that when the user types text into the date field, for example - no actual data is passed into your local / rule input variable.&amp;nbsp; So in general we have no way of telling whether&amp;nbsp;&lt;em&gt;invalid&lt;/em&gt; data has been entered into a date field, however you should be able to design around the fact that &lt;em&gt;the value will still be null&lt;/em&gt; in such a case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>