<?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>Button validating outside its validation group.</title><link>https://community.appian.com/discussions/f/user-interface/24997/button-validating-outside-its-validation-group</link><description>Hello, 
 I am currently having some issues with validation groups on a button I have in a child interface. I will be referencing the picture below. 
 
 The Save button on the bottom right has validate set to true, and is in the validation group &amp;quot;save_1</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Button validating outside its validation group.</title><link>https://community.appian.com/thread/96769?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 20:26:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:033473a2-20c5-4790-a108-18cac9934ca2</guid><dc:creator>JHelman</dc:creator><description>&lt;p&gt;Gotcha. I&amp;#39;m just going to validate this reply as the answer. Those are probably the only 2 options&amp;nbsp;for my case. I mostly wanted to make sure there wasn&amp;#39;t some hidden way I was missing. Thanks again Mike. Maybe Appian will push an update eventually to keep the asterisk with validation groups, or at least an option to keep it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button validating outside its validation group.</title><link>https://community.appian.com/thread/96768?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 20:16:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c6a0aae-8355-4cf0-843d-408e867bd71d</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Gotcha - well in a big picture sense, you might be limited to choosing between 2 scenarios:&lt;/p&gt;
&lt;p&gt;1) disable the &amp;quot;save&amp;quot; button until all fields are filled appropriately; or&lt;/p&gt;
&lt;p&gt;2) when the user is presented with the Organization Details fields to fill, show *only* that section of the form, hiding the rest until they&amp;#39;ve hit &amp;quot;save&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button validating outside its validation group.</title><link>https://community.appian.com/thread/96765?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 18:34:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5fb9fe3-fc0d-4224-b717-e008ad20bde2</guid><dc:creator>JHelman</dc:creator><description>&lt;p&gt;Hey Mike thanks for the reply,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently using the &amp;quot;disabled&amp;quot; feature for the button so that the button is disabled until all the required fields have been filled out. It&amp;#39;s less than ideal, but it does work.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll take a look at the a!validationMessage(), also here&amp;#39;s a quick explanation of the behavior I&amp;#39;m trying to accomplish:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a start form that has several tabs to fill out. This start form is used to create an &amp;quot;activity&amp;quot;. In one of the tabs, the user is able to search and add participants to a roster in association with the activity. After selecting some participants, the user must answer a set of questions by selecting a grid row. The interface on the bottom (Organization Details) then pops up with said questions. It&amp;#39;s a child interface called from this start form. Upon clicking &amp;quot;save,&amp;quot; the intention is that the save button will validate the required fields for these questions. The above part (Add Participant Search Criteria) is in the same tab, but isn&amp;#39;t part of the child interface. The &amp;quot;save&amp;quot; button should only validate the questions in the same validation group. For instance, if I click save it shouldn&amp;#39;t apply validation to the questions &amp;quot;Activity Recipient Type&amp;quot;, etc. but should apply validation to &amp;quot;Expected Effort &amp;amp; Expertise Level.&amp;quot;&lt;/p&gt;
&lt;p&gt;Let me know if that&amp;#39;s helpful at all.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button validating outside its validation group.</title><link>https://community.appian.com/thread/96764?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 18:23:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ea0fae3-a531-4f19-b479-31d74ab9eda8</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="82667" url="~/discussions/f/user-interface/24997/button-validating-outside-its-validation-group"]that forcibly removes the asterisk (*) from the field which is unwanted[/quote]
&lt;p&gt;This is a major component of why I never use validation groups.&amp;nbsp; I was about to say &amp;quot;rarely&amp;quot;, but I hesitated and thought about times I have used it - and in every instance I eventually give up and just use a different approach.&lt;/p&gt;
&lt;p&gt;There are powerful possibilities nowadays - between varying what buttons are enabled at what times depending on which values have been filled, to form-level and/or section-level validation messages using &lt;em&gt;a!validationMessage()&lt;/em&gt; set to validate only upon form submission.&amp;nbsp; I&amp;#39;m sorry I can&amp;#39;t suggest a more concrete solution for you at the moment, though if you explain a bit more about what behavior you were trying to accomplish (from a medium-high level), I might have more to offer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>