named: [value-extended
name=formfield
outfile=filename*
ascii=1*
yes="Yes"*
no="No"*
joiner="char|string"*
test="isfile|length|defined"*
index="N|N..N|*"
file_contents=1*
elements=1*]
positional: [value-extended name]
HTML examples:
No match found for <PARAM MV="value-extended"
MV.JOINER=" and "
MV.NAME=mv_searchspec>
<INPUT TYPE="text" NAME="mv_searchspec"
VALUE="[value-extended name=mv_searchspec index=0]">
<INPUT TYPE="text" NAME="mv_searchspec"
VALUE="[value-extended name=mv_searchspec index=1]">
Expands into the current value of the customer/form input field named by field. If there are multiple elements of that variable, it will return the value at index; by default all joined together with a space.
If the variable is a file variable coming from a multipart/form-data file upload, then the contents of that upload can be returned to the page or optionally written to the outfile.
In the special case of a file upload, the value returned is the name of the file as passed for upload.
isfile returns true if the variable is a file upload.
length returns the length. defined returns whether the value has ever been set at all on a form.
*, will return all (joined by joiner). If a range, such as 0 .. 2, will return multiple elements.
1 for tests and the empty string for uploads.