$Web Form Parm Len: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 4: | Line 4: | ||
$Web_Form_Len retrieves the length of a field in a form. $Web_Form_Parm_Len is a somewhat more syntactically correct synonym for $Web_Form_Len. | <var>$Web_Form_Len</var> retrieves the length of a field in a form. $Web_Form_Parm_Len is a somewhat more syntactically correct synonym for $Web_Form_Len. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><section begin="syntax" /> %RC = $WEB_FORM_[PARM_]LEN( fieldname, occurrence ) | <p class="syntax"><section begin="syntax" /> %RC = $WEB_FORM_[PARM_]LEN( fieldname, occurrence ) | ||
Line 10: | Line 10: | ||
$Web_Form_Len takes two arguments and returns a number, or zero if the field does not exist. | <var>$Web_Form_Len</var> takes two arguments and returns a number, or zero if the field does not exist. | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>fieldname</th> | <tr><th>fieldname</th> |
Revision as of 21:27, 6 June 2012
<section begin="desc" />Length of form field<section end="desc" />
$Web_Form_Len retrieves the length of a field in a form. $Web_Form_Parm_Len is a somewhat more syntactically correct synonym for $Web_Form_Len.
Syntax
<section begin="syntax" /> %RC = $WEB_FORM_[PARM_]LEN( fieldname, occurrence ) <section end="syntax" />
$Web_Form_Len takes two arguments and returns a number, or zero if the field does not exist.
fieldname | The name of the form field, returned by $Web_Form_Name. Required argument if occurrence not specified, otherwise optional. |
---|---|
occurrence | The occurrence number of a form field, or the occurrence number of the form field matching 'fieldname', if fieldname is specified. Optional argument if fieldname is specified, otherwise it is required. |
See also: