<?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>ButtonWidget &amp;amp; ButtonWidgetSubmit</title><link>https://community.appian.com/discussions/f/user-interface/9120/buttonwidget-buttonwidgetsubmit</link><description>Hi, In SAIL form, may I know if the button is pressed and the form failed the validations, will the data that defined in the saveInto of the button will still be able to be saved? For instance, I have 2 different validations on a grid, depending on the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: ButtonWidget &amp; ButtonWidgetSubmit</title><link>https://community.appian.com/thread/40771?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 05:33:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9e6bd9c-9a8b-4588-81d3-ce89e2075768</guid><dc:creator>Will Teoh</dc:creator><description>yes I am aware that this WILL work. but is not what I wanted. Thx&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ButtonWidget &amp; ButtonWidgetSubmit</title><link>https://community.appian.com/thread/40716?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 14:56:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ed7092a3-0b9a-45d6-ae4b-fffff915290c</guid><dc:creator>venkateshamu</dc:creator><description>In this case buttonwidget with validate false() will work but it will not submit. Please refer below sample code.&lt;br /&gt;&lt;br /&gt;load(&lt;br /&gt;  local!btn_txt,&lt;br /&gt;  {&lt;br /&gt;    a!gridField(&lt;br /&gt;      label: &amp;quot;Test&amp;quot;,&lt;br /&gt;      value: ri!pagingInfo,&lt;br /&gt;      saveInto: ri!pagingInfo,&lt;br /&gt;      totalCount:2,&lt;br /&gt;      columns: {&lt;br /&gt;        a!gridTextColumn(&lt;br /&gt;          label: &amp;quot;Col1&amp;quot;,&lt;br /&gt;          data: {&amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;}&lt;br /&gt;        ),&lt;br /&gt;        a!gridTextColumn(&lt;br /&gt;          label: &amp;quot;Col2&amp;quot;,&lt;br /&gt;          data: {&amp;quot;Test&amp;quot;, &amp;quot;Test2&amp;quot;}&lt;br /&gt;        )&lt;br /&gt;      },&lt;br /&gt;      validations:{&lt;br /&gt;        if(&lt;br /&gt;          local!btn_txt = &amp;quot;Submit&amp;quot;,&lt;br /&gt;          &amp;quot;Submit Clicked&amp;quot;,&lt;br /&gt;        if(&lt;br /&gt;          local!btn_txt = &amp;quot;Cancel&amp;quot;,&lt;br /&gt;          &amp;quot;Cancel Clicked&amp;quot;,&lt;br /&gt;          &amp;quot;&amp;quot;&lt;br /&gt;        )&lt;br /&gt;        )&lt;br /&gt;      }&lt;br /&gt;    ),&lt;br /&gt;     a!buttonLayout(&lt;br /&gt;    primaryButtons: {&lt;br /&gt;      a!buttonWidget(&lt;br /&gt;        label: &amp;quot;Submit&amp;quot;,&lt;br /&gt;        saveInto: local!btn_txt,&lt;br /&gt;        value: &amp;quot;Submit&amp;quot;,&lt;br /&gt;        style: &amp;quot;PRIMARY&amp;quot;&lt;br /&gt;      )&lt;br /&gt;    },&lt;br /&gt;    secondaryButtons: {&lt;br /&gt;      a!buttonWidget(&lt;br /&gt;        label: &amp;quot;Cancel&amp;quot;,&lt;br /&gt;        saveInto: local!btn_txt,&lt;br /&gt;        style: &amp;quot;NORMAL&amp;quot;,&lt;br /&gt;        value: &amp;quot;Cancel&amp;quot;&lt;br /&gt;      )&lt;br /&gt;    }&lt;br /&gt;  )&lt;br /&gt;  }&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;Please let me know if it works!!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ButtonWidget &amp; ButtonWidgetSubmit</title><link>https://community.appian.com/thread/40715?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 14:50:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a14f412e-9a5f-4e77-ae0c-e41ad3c5b138</guid><dc:creator>darrynj</dc:creator><description>the button&amp;#39;s saveInto parameter will not trigger if the validations of the group specified in the validationGroup parameter of the button fail.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ButtonWidget &amp; ButtonWidgetSubmit</title><link>https://community.appian.com/thread/40714?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 14:22:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6411a86c-e428-4dd9-be8a-07cd67482f20</guid><dc:creator>venkateshamu</dc:creator><description>@willt, As per my knowledge value will not store into variable if validation fails.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>