HTML for Component S_192TX
<!-- In this component: -->
<!-- TEXTAREA NAME is the name of your base field padded with trailing blanks to 10 characters -->
<!-- This means that the eleventh (11t) position of the field name must be the '-' character -->
<!-- -L078 is the field length as defined in the repository or function where 'Lnnn' indicates the -->
<!-- desired apportionment length. If omitted, a length of 256 is assumed. -->
<RDML CHECKVALUE="YES">
<TEXTAREA NAME="S_192TX -L078" COLS=55 ROWS=6 WRAP="PHYSICAL" onKeyPress="return CountIt(this.value)">
<RDML MERGE="S_192TX ">
<RDML MERGE="S_192TX01 ">
<RDML MERGE="S_192TX02 ">
<RDML MERGE="S_192TX03 ">
<RDML MERGE="S_192TX04 ">
<RDML MERGE="S_192TX05 ">
<RDML MERGE="S_192TX06 ">
<RDML MERGE="S_192TX07 ">
<RDML MERGE="S_192TX08 ">
<RDML MERGE="S_192TX09 ">
<RDML MERGE="S_192TX10 ">
</TEXTAREA>
</RDML>
<!-- A TEXT AREA has a limited number of characters that can be typed in. The limit is set by the sum of the length of its -->
<!-- fields. This TEXT AREA has been defined with 11 fields (S_192TX through S_192TX010), each of them 78 characters long. -->
<!-- Hence, the limit is 78 * 11 = 858 characters. That value is calculated in the RDML function SET193B and sent in the field
<!-- #MAXCHAR. Each time a character is typed into the TEXT AREA, the Java Script function below will be invoked and verify -->
<!-- that the limit has not been surpassed. If it has, an alert message is shown. -->
<SCRIPT>
function CountIt(TextEntered)
{
var maxlength = <RDML MERGE="MAXCHAR">;
var length;
var thisString;
thisString = TextEntered;
length = thisString.length;
if (length > (maxlength - 1))
{
alert("You have reached the limit of " + maxlength + " characters you can type in this TEXT AREA." );
return false;
}
return true;
}
</SCRIPT>
<!-- In this component: -->
<!-- TEXTAREA NAME is the name of your base field padded with trailing blanks to 10 characters -->
<!-- This means that the eleventh (11t) position of the field name must be the '-' character -->
<!-- -L078 is the field length as defined in the repository or function where 'Lnnn' indicates the -->
<!-- desired apportionment length. If omitted, a length of 256 is assumed. -->
<RDML CHECKVALUE="YES">
<TEXTAREA NAME="S_192TX -L078" COLS=55 ROWS=6 WRAP="PHYSICAL" onKeyPress="return CountIt(this.value)">
<RDML MERGE="S_192TX ">
<RDML MERGE="S_192TX01 ">
<RDML MERGE="S_192TX02 ">
<RDML MERGE="S_192TX03 ">
<RDML MERGE="S_192TX04 ">
<RDML MERGE="S_192TX05 ">
<RDML MERGE="S_192TX06 ">
<RDML MERGE="S_192TX07 ">
<RDML MERGE="S_192TX08 ">
<RDML MERGE="S_192TX09 ">
<RDML MERGE="S_192TX10 ">
</TEXTAREA>
</RDML>
<!-- A TEXT AREA has a limited number of characters that can be typed in. The limit is set by the sum of the length of its -->
<!-- fields. This TEXT AREA has been defined with 11 fields (S_192TX through S_192TX010), each of them 78 characters long. -->
<!-- Hence, the limit is 78 * 11 = 858 characters. That value is calculated in the RDML function SET193B and sent in the field
<!-- #MAXCHAR. Each time a character is typed into the TEXT AREA, the Java Script function below will be invoked and verify -->
<!-- that the limit has not been surpassed. If it has, an alert message is shown. -->
<SCRIPT>
function CountIt(TextEntered)
{
var maxlength = <RDML MERGE="MAXCHAR">;
var length;
var thisString;
thisString = TextEntered;
length = thisString.length;
if (length > (maxlength - 1))
{
alert("You have reached the limit of " + maxlength + " characters you can type in this TEXT AREA." );
return false;
}
return true;
}
</SCRIPT>