<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Page Builder - Dynamic readonly in SAS Risk Management</title>
    <link>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/208531#M9</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in EGRC 5.1 to dynamically restrict the editability of a field, a ~"&amp;lt;set-readonly&amp;gt;" operation similar to the existing &amp;lt;set-visible&amp;gt; that is evaluated &amp;lt;on-change&amp;gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Karin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 11:35:58 GMT</pubDate>
    <dc:creator>kheger</dc:creator>
    <dc:date>2015-07-22T11:35:58Z</dc:date>
    <item>
      <title>Page Builder - Dynamic readonly</title>
      <link>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/208531#M9</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in EGRC 5.1 to dynamically restrict the editability of a field, a ~"&amp;lt;set-readonly&amp;gt;" operation similar to the existing &amp;lt;set-visible&amp;gt; that is evaluated &amp;lt;on-change&amp;gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Karin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/208531#M9</guid>
      <dc:creator>kheger</dc:creator>
      <dc:date>2015-07-22T11:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Page Builder - Dynamic readonly</title>
      <link>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/247945#M21</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There are multiple options for you to do it.&lt;/P&gt;&lt;P&gt;But there isn’t a direct way for doing it based on a ‘&amp;lt;on-change&amp;gt;’ event, as you can do for the &amp;lt;set-visible&amp;gt; or &amp;lt;set-required&amp;gt; elements, for example.&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;1- &amp;lt;field name="readonly1" &lt;STRONG&gt;readonly="true"&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;2- &amp;lt;field name="readonly2" &lt;STRONG&gt;readonly="isScreenReadOnly()"&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;3- &amp;lt;field name="readonly3" &lt;STRONG&gt;readonly="incidentStatus = 'validated'"&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;4- The dynamic tricky way needs to use an additional field:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;field name="x_aux1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;x_aux1&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;on-change&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;set-value name="temp.x_flg" value="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/on-change&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;field name=" temp.x_flg" type="boolean"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;x_flg&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;field name="readonly4" &lt;STRONG&gt;readonly="temp.x_flg"&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Cheers and good luck,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:16:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/247945#M21</guid>
      <dc:creator>porlpp</dc:creator>
      <dc:date>2016-02-04T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Page Builder - Dynamic readonly</title>
      <link>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/248352#M22</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is currently no &amp;lt;set-readonly&amp;gt; functionality for the on-change event. I don't think&amp;nbsp;that the example provided can&amp;nbsp;dynamically set the field to readonly on the page.&amp;nbsp;This is because the &amp;lt;set-value&amp;gt; argument used by &amp;lt;on-change&amp;gt; only dynamically sets the value of the field name and cannot dynamically update the attributes of that field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, upon clicking 'Apply' or 'Save' the field in this example would then be updated to readonly.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 17:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Risk-Management/Page-Builder-Dynamic-readonly/m-p/248352#M22</guid>
      <dc:creator>BrendanW</dc:creator>
      <dc:date>2016-02-05T17:40:21Z</dc:date>
    </item>
  </channel>
</rss>

