<?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>Validation to grid Row</title><link>https://community.appian.com/discussions/f/user-interface/12711/validation-to-grid-row</link><description>Hi all, i am using editable grid to display data, and it has provision to update, but in normal it will be in the read-only, if user select the row then it turns to read/write. i applied a validation to the row, that i am comparing the current row value</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Validation to grid Row</title><link>https://community.appian.com/thread/56898?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 05:46:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2e19845-4a53-49a5-a5c5-1b4883a99ebe</guid><dc:creator>paragk998</dc:creator><description>Hi&lt;br /&gt;
&lt;br /&gt;
if your number of rows are fix (let say 5-6 rows)&lt;br /&gt;
then don&amp;#39;t use loop&lt;br /&gt;
just write the code 5 times &lt;br /&gt;
so if user select row number 3 it will not have impact on other rows.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation to grid Row</title><link>https://community.appian.com/thread/56895?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 05:17:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d244e298-5457-4657-9c9e-455bbb165b9c</guid><dc:creator>Damodhar</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Please use the index of the current row as [for example]&lt;br /&gt;
a!forEach(&lt;br /&gt;
  items: ******,&lt;br /&gt;
expression: fv!item[fv!index]&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Regards.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation to grid Row</title><link>https://community.appian.com/thread/56894?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 05:14:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:222e4b24-9a0a-4110-8295-9f2fcfa0ae75</guid><dc:creator>Abhay Giri</dc:creator><description>Hi Sri,&lt;br /&gt;
&lt;br /&gt;
While applying loop, for-each, only do validation there where your selected grid row index is equal to loop index then only the selected row will be validate.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Abhay&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation to grid Row</title><link>https://community.appian.com/thread/56891?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 04:44:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afe27c0a-10cd-47d8-9e03-06f5ca78eb8a</guid><dc:creator>vamshidhar</dc:creator><description>Hi Srinivas,&lt;br /&gt;
&lt;br /&gt;
Index must be given to data to validate current row.For example&lt;br /&gt;
fv!item[fv!index]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Validation to grid Row</title><link>https://community.appian.com/thread/56888?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 02:30:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbf9ae7c-0e99-41cf-bf71-ccd27035f33c</guid><dc:creator>chandhinir</dc:creator><description>Pass the row index in your validation rule so that it will validate only the current row&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>