<?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 Re: GRC - limit forms input text in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/GRC-limit-forms-input-text/m-p/248253#M46610</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes, you can use the max-length attribute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;max-length&lt;/STRONG&gt; - (optional) The maximum length of the input content allowed in the text input.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;field name="your_string" type="string" max-length="15"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;Max chars = 15&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers and good luck,&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2016 14:45:11 GMT</pubDate>
    <dc:creator>porlpp</dc:creator>
    <dc:date>2016-02-05T14:45:11Z</dc:date>
    <item>
      <title>GRC - limit forms input text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GRC-limit-forms-input-text/m-p/115126#M23707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a newbie to SAS and more specifically to GRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to know if is there any way of configuring text limit (e.g. nr of characters) for input fields of text or textarea (i&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;n CPB modules).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For our case, GRC generates a HTML like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="text" id="X_EVENT_TRO" name="X_EVENT_TRO" &lt;/P&gt;&lt;P&gt; value="0"&lt;/P&gt;&lt;P&gt; size="75"&lt;/P&gt;&lt;P&gt; onchange="cpb.setPageDirty()"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to generate also maxlength attribute and/or validate input size through javascript (for textareas in browsers where maxlength is not yet supported).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 09:18:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GRC-limit-forms-input-text/m-p/115126#M23707</guid>
      <dc:creator>scmoro</dc:creator>
      <dc:date>2013-06-21T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: GRC - limit forms input text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GRC-limit-forms-input-text/m-p/248253#M46610</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes, you can use the max-length attribute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;max-length&lt;/STRONG&gt; - (optional) The maximum length of the input content allowed in the text input.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;field name="your_string" type="string" max-length="15"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;Max chars = 15&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers and good luck,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 14:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GRC-limit-forms-input-text/m-p/248253#M46610</guid>
      <dc:creator>porlpp</dc:creator>
      <dc:date>2016-02-05T14:45:11Z</dc:date>
    </item>
  </channel>
</rss>

