<?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>How to implement a logic any validation is triggered, the button is disable.</title><link>https://community.appian.com/discussions/f/user-interface/39494/how-to-implement-a-logic-any-validation-is-triggered-the-button-is-disable</link><description>There are many components in my interface, and each component has their own validations. I want to implement a require like if any validation is triggered, the submit button should be disable. Is there any easy way I can achieve that? Or I can only write</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to implement a logic any validation is triggered, the button is disable.</title><link>https://community.appian.com/thread/150210?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 08:40:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:04e8aa0f-4725-493b-8401-d254dd3c6833</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;I agree! Better to hide the buttons then show it disabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yet I have seen users inclined to see the disabled buttons - to be aware of an action that might enable when certain conditions match rather than forgetting that there can be an action here and is just not visible now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement a logic any validation is triggered, the button is disable.</title><link>https://community.appian.com/thread/150202?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 08:00:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6096a7b-8996-40b2-90cb-9e618ce7c987</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I do not allow disabling submit buttons in any of my projects. IMHO this just leads to a bad or clunky UX.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement a logic any validation is triggered, the button is disable.</title><link>https://community.appian.com/thread/150201?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 07:52:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:795157dd-4e9d-4453-b369-6763e3cf65db</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Create one expression rule with all validations that returns a dictionary/map of errors. Use it in both component validations (accessing specific fields) and button disabled (checking if any errors exist). &lt;br /&gt;This gives you single source of truth for all validation logic - no duplication, easy maintenance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement a logic any validation is triggered, the button is disable.</title><link>https://community.appian.com/thread/150200?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 07:49:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d17ade63-eb90-42f0-a905-2e3f6a582c19</guid><dc:creator>Yashwanth Akula</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/edwardc8281"&gt;Peon&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can use the &amp;quot;validate&amp;quot; parameter in the submit button, so if any validation is triggered in any of the components, the submit button will not submit the form.&lt;br /&gt;&lt;br /&gt;But if you need to disable the submit button, I suggest creating a rule for validations, keeping every component validation in that expression rule, and using the rule in components and also in the submit button at the disable parameter. Whenever any validation occurs, make disable true.&lt;br /&gt;&lt;br /&gt;Hope this helps! Looking forward to seeing other approaches as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>