<?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>Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/discussions/f/user-interface/15056/submit-button-being-disabled-if-no-changes-are-made-to-the-editable-grid</link><description>Under the grid, display a SAVE button. The button should be disabled by default. If any changes are made to the grid (i.e. if a row is added, a row is removed, or data entered for a row is changed), the button should be enabled. After the button is clicked</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/68465?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 17:32:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c761df4a-8387-4760-a764-9788f141477a</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;&lt;span&gt;From a related action,I have to manage some details of a record in grid by selecting it..When I select a record and proceed the details of that particular record is displayed with editable fields where I can make changes and save that form..But I want to navigate through all the records through the links called previous and next.When I click next I want to display the next records details in the editable fields on the form kind of thing and save it through that related action...Could you please input me with some details how to navigate to next record details without going to grid again and selecting it..&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67719?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 22:14:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:685602e6-594d-4537-aeb7-d0ec07e33685</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Thanks for providing those.&amp;nbsp; I&amp;#39;m guessing your Save button is set to just be disabled when you have ri!saveDisabled set to true (though i&amp;#39;m not too sure what&amp;#39;s going on since you&amp;#39;re setting it to false in these saveIntos).&lt;/p&gt;
&lt;p&gt;Now that I think about it - while it is possible to validate based on the uploaded file&amp;#39;s Size, I believe you won&amp;#39;t be able to affect the Save button&amp;#39;s enabled status based on the uploaded file&amp;#39;s size, at least using &amp;quot;officially supported&amp;quot; functionality.&lt;/p&gt;
&lt;p&gt;So I would suggest you take a different approach for the value of your &amp;quot;saveDisable&amp;quot; value.&amp;nbsp; I would suggest you make it as a with() variable (or if 19.2 already, an a!refreshVariable inside a!localVariables set to refresh on referenced variable change).&amp;nbsp; For the moment I&amp;#39;ll assume you&amp;#39;re pre-19.2 and therefore use with() since it&amp;#39;s simpler to explain.&lt;/p&gt;
&lt;p&gt;Declare a with() variable, local!disableSave, and set it to something like &amp;quot;isnull(ri!description)&amp;quot;.&amp;nbsp; That way as soon as a description is entered, the Save button will be enabled.&amp;nbsp; Take for example the following code, which enables the SAVE button only when a document is uploaded and a description is entered (and throws a validation error when above 5MB is uploaded):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;load(
  local!document: null(),
  local!description: null(),
  
  with(
    local!disableSave: or(
      isnull(local!document),
      isnull(local!description)
    ), /* will update any time document or description are changed */
    
    a!sectionLayout(
      label: &amp;quot;Test Simple Document Upload&amp;quot;,
      contents: {
        a!gridLayout(
          headerCells: {
            a!gridLayoutHeaderCell(label: &amp;quot;Document&amp;quot;),
            a!gridLayoutHeaderCell(label: &amp;quot;Description&amp;quot;)
          },
          rows: a!gridRowLayout(
            contents: {
              a!fileUploadField(
                value: local!document,
                saveInto: local!document,
                description: local!description,
                maxSelections: 1,
                validations: {
                  if(
                    fv!files.size &amp;gt;  5 * 1024 * 1024,
                    &amp;quot;Attachments above 5MB are not allowed.&amp;quot;,
                    null()
                  )
                }
              ),
              a!textField(
                value: local!description,
                saveInto: local!description,
                disabled: isnull(local!document)
              )
            }
          )
        ),
        a!buttonArrayLayout(
          align: &amp;quot;CENTER&amp;quot;,
          buttons: {
            a!buttonWidget(
              label: &amp;quot;Save&amp;quot;,
              style: &amp;quot;PRIMARY&amp;quot;,
              disabled: local!disableSave
            )
          }
        )
      }
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67718?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 21:50:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99315b7d-a205-4bdc-ad36-7fb685d0a57c</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/WhatsApp-Image-2019_2D00_06_2D00_26-at-4.27.15-PM.jpeg" /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/WhatsApp-Image-2019_2D00_06_2D00_26-at-4.27.15-PM-_2800_1_2900_.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!fileuploadField(
label:&amp;quot;file upload&amp;quot;,
value:ri!file,
validations:if(fv!file.size&amp;gt;5000000,&amp;quot;Attachments above 5 MB not allowed),
saveInto:{ri!file,a!save(ri!saveDisable,false)}/*first i declared ri!saveDisabled as true*/
),
if(isnull(ri!file),
a!textField(
label:&amp;quot;description&amp;quot;,
value:&amp;quot;&amp;quot;,
readOnly:true),
a!textField(
label:&amp;quot;description&amp;quot;,
value:ri!description,
saveInto:{ri!description,a!save(ri!saveDisable,false),}))&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67716?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 20:49:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0bb84381-49ec-4548-978a-647ab3ce890c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you can share the relevant snippet of your current code (and maybe an accompanying screenshot) then that might help, otherwise I&amp;#39;d only be guessing as to what the issue is...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67715?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 20:40:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7904cba-8bb3-485c-9b09-68a934f2bb56</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;the save button should disable&amp;nbsp;if the file I have attached is above 5 MB(done with the validation code) and if I enter any description for the file in another field in the grid(editable)...&lt;/p&gt;
&lt;p&gt;The save button is disabled if I upload the file above 5MB but when I enter the description then the save button enables&lt;/p&gt;
&lt;p&gt;any input is appreciated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67707?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 16:50:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de45a940-0ac6-4312-ad12-2710abd7522e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Field properties like Label and Instructions don&amp;#39;t show up when used in an editable grid.&amp;nbsp; You could always make an extra column in the grid where you store information like max filesize, etc, or try putting a help tooltip on the column header with extra details like this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67705?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 16:43:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a92fc66-48ff-4ca2-be1a-2fc1bf6b7bcc</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;I have a grid which has fields for document,description,uploaded date,remove columns..&lt;/p&gt;
&lt;p&gt;I have a link at the bottom of the grid to attach the file using the file upload component.But Iam unable to show the instructions for the file upload component on file size that can be uploaded..&lt;/p&gt;
&lt;p&gt;Could you plz help me out how to do that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67617?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 18:30:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ebfcdd4-6fe5-4964-a627-dc4ae741c3e0</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;BTW, if any of my answers are helping you, I hope you&amp;#39;ll click &amp;quot;Verify&amp;quot; on one or more of them in order to make sure I get credit :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67616?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 18:28:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17d96c04-2c39-4338-ac55-a8be9ba65a62</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;There&amp;#39;s no easy way to do this that I know of.&amp;nbsp; One of the only suggestions I have might be, after the deletion is completed, have the user chain forward into a user input task that has no Submit button - and on that task, show a record link with the record type set but no record identifier - i believe this will cause them to be linked to the record listing when they click it.&amp;nbsp; (The task would need to time out after a few minutes to end the process in the background.)&amp;nbsp; The text for the link could say something like, &amp;quot;Click here to return to Record Listing&amp;quot;, along with some explanation that the record has now been deleted and to not try clicking back to &amp;quot;summary&amp;quot; etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67614?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 18:11:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a32bb157-928b-4a49-b06d-01f1cadf44e9</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;Mike ,&lt;/p&gt;
&lt;p&gt;I have a relation action shortcut on a record summary&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I&amp;nbsp;perform &amp;quot;Delete Record&amp;quot; related action ,the record successfully gets deleted through a process model without activity chaining but after deletion it returns back to the Summary dashboard instead of the Record grid view...How can I handle this?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67522?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 17:43:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9aab59e7-199d-4413-b530-744f7173c631</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="33204" url="~/discussions/f/user-interface/15056/submit-button-being-disabled-if-no-changes-are-made-to-the-editable-grid/67521"]No I dont want the button to be enabled if the user doesnot actually makes changes[/quote]
&lt;p&gt;the code I&amp;#39;ve suggested handles this.&lt;/p&gt;
[quote userid="33204" url="~/discussions/f/user-interface/15056/submit-button-being-disabled-if-no-changes-are-made-to-the-editable-grid/67521"]and also how can I check with the documents being duplicated...dont want to upload a new document if it already exists[/quote]
&lt;p&gt;Appian treats all uploaded files as unique IDs - it has no direct way of knowing whether two different files are identical, though you could add a validation to your upload which checks whether the uploaded file name and size (for example) are identical to a previously uploaded file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67521?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 17:30:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7aa9c919-c8a5-4c07-9e8a-3c7ee14a0b75</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;No I dont want the button to be enabled if the user doesnot actually makes changes to the editable field and also how can I check with the documents being duplicated...dont want to upload a new document if it already exists&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67520?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 17:23:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13738776-2082-4352-9bbd-968778c1d6a6</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;a!textField automatically performs its saveInto when the field is unfocused (i.e. the user clicks or tabs away); the WITH() variable won&amp;#39;t update until after that.&amp;nbsp; In general, it updates fast enough that the user can&amp;#39;t get to the button in time even if they change something and try clicking right away.&amp;nbsp; However if you need it to be even tighter in timing, you can add &amp;#39;&lt;em&gt;refreshafter: &amp;quot;KEYPRESS&amp;quot;&lt;/em&gt;&amp;#39; to the a!textField which will cause the saveInto to be immediately executed every time the user changes something.&amp;nbsp; This has performance implications if you use it too much or in too many fields in a form, but with limited usage it works fine.&amp;nbsp; If I understand your scenario correctly, this is probably the solution you&amp;#39;re looking for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67519?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 17:17:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad2988e4-fca8-4629-96fa-3b8f9af64b13</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;Here in the above example if the user wants to change something in the status(editable) and just again changed his mind and let it be as it is clicking backspace then I dont want to enable the save button as there is no change in the data..Is there anyway you can help me out please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67429?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 19:45:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:925b82a1-ea6c-4894-85c4-82b150d7e9e6</guid><dc:creator>Richard Nolan</dc:creator><description>&lt;p&gt;Glad you got it sorted out !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67425?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 18:35:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9481513c-aa77-45c2-ab50-e582d64a6356</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;Yeah I got it with passing the boolean variable to make the button disabled from expression rule to interface&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67424?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 17:59:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1667529a-046d-4985-9f86-a81d7fe69ae3</guid><dc:creator>Richard Nolan</dc:creator><description>&lt;p&gt;Can you clarify a few things?&lt;/p&gt;
&lt;p&gt;1) You have two buttons (at least), one to allow uses to add a new file, and one that allows users to save changes to the editable items in your grid.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) The attach file button should be disabled when a user is editing data in the grid, but the &amp;quot;save&amp;quot; button should be enabled if there are changes?&lt;br /&gt;&lt;br /&gt;3) You have a complete expression rule that that generates a single row (you are not, for example, calling gridRowLayout() in an a!foreach(), but are calling your own custom crafted expression that generates each row)?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If the above are true, you could use a single variable (as in the examples people have provided) to generate enabled state/disabled state.&amp;nbsp; Or you could use two variables if they may act independently.&lt;br /&gt;&lt;br /&gt;What you will likely have to do&amp;nbsp; do, is pass the variable(s) controlling those states into the expression that generates the rows, so you can update it in the fields that should enable the save button and disable the attach button.&lt;br /&gt;&lt;br /&gt;If you have a more complete case to share, we can probably help you further (maybe supply a code example)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67423?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 17:53:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8beffa22-602e-44df-8991-b49164071d61</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;m unclear what&amp;#39;s still not working for you - could you attach some screenshots and/or sample code?&amp;nbsp; (please use the Insert Code box to preserve formatting and not blow up the post)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67422?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 17:24:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:639e02b5-cf34-4bfc-bc3a-b782f04bbca2</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;I have a grid which displays the document(can download the doc through documentdownload link),document description,uploaded on,remove columns..&lt;/p&gt;
&lt;p&gt;Attaching a new&amp;nbsp;file link is in the main interface..We can attach the documents row by row...&lt;/p&gt;
&lt;p&gt;I have a seperate expression rule for the rows displaying (all the code for deleting included there)&lt;/p&gt;
&lt;p&gt;Iam able to disable the save first and enable it for the attachment link only...iam unable to do it for the document description,remove columns...Can you plz help me out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67412?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 14:34:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3dde228-5ced-485e-806f-34ff827d507e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Sorry, I&amp;#39;m not sure I follow -- you didn&amp;#39;t mention documents at all before.&amp;nbsp; Perhaps you can share a bit more detail as to what you&amp;#39;re actually trying to do with your grid?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67383?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 22:24:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af04ccde-919c-4da5-bc3b-c706474faf53</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;You are taking it as a CDT right?but I have 2 different lists for documents and their description...I couldnot understand how to handle this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67382?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 21:45:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d9ff057-30be-4fe7-833d-76b9395c710f</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;If I edit the description&amp;nbsp;only the save button should be enabled and I should be able to save the changes&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think I couldnot do it this way&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67381?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 21:20:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5188224c-1d4a-4651-ba6c-a8f7f19e5ecf</guid><dc:creator>RAHUL GANJI</dc:creator><description>&lt;p&gt;thats working for the attaching of a new document to the grid but it is not working for the editable&amp;nbsp;column in the grid when the description in the column changes and we need to enable the submit button for that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67380?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 20:46:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6710cf87-2270-4eff-a6d6-e3f1f377b0d1</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Here&amp;#39;s my quick version of what I was thinking of.&amp;nbsp; I In my example the main data is in local!itemList, though in a real implementation that could be replaced with a rule input value feeding in external (and editable) data.&amp;nbsp; The with() variable takes care of keeping track of whether any changes have been made, with the added bonus that it&amp;#39;ll turn back off if changes are reverted.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;load(
  local!itemList: {
    {
      item: &amp;quot;Sofa&amp;quot;,
      status: &amp;quot;unoccupied&amp;quot;
    },
    {
      item: &amp;quot;TV&amp;quot;,
      status: &amp;quot;off&amp;quot;
    }
  },
  local!itemListOriginalValue: local!itemList,
  with(
    local!changesMade: not(
      exact(
        tostring(local!itemList),
        tostring(local!itemListOriginalValue)
      )
    ),
    
    a!formLayout(
      contents: {
        a!gridLayout(
          headerCells: {
            a!gridLayoutHeaderCell(
              label: &amp;quot;Item&amp;quot;
            ),
            a!gridLayoutHeaderCell(
              label: &amp;quot;Status&amp;quot;
            )
          },
          rows: a!forEach(
            local!itemList,
            a!gridRowLayout(
              contents: {
                a!textField(
                  value: fv!item.item,
                  readonly: true()
                ),
                a!textField(
                  value: fv!item.status,
                  saveInto: fv!item.status,
                  readOnly: false()
                )
              }
            )
          )
        )
      },
      buttons: a!buttonLayout(
        primaryButtons: a!buttonWidget(
          label: &amp;quot;SAVE&amp;quot;,
          style: &amp;quot;PRIMARY&amp;quot;,
          disabled: not(local!changesMade),
          saveInto: {
            a!save(
              local!itemListOriginalValue,
              local!itemList
            )
          }
        )
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Submit button being disabled if no changes are made to the editable grid</title><link>https://community.appian.com/thread/67379?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 20:35:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4888c33-ae45-47ca-be73-f533f818d101</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The method I described should still be sufficient I think.&amp;nbsp; Or are you trying to recognize changes on a row-by-row basis?&amp;nbsp; If you only have one SAVE button for the whole form (which was my assumption), then you shouldn&amp;#39;t need to worry about this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>