W3TPL/tag/get-let
Jump to navigation
Jump to search
About
The <get> and <let> tags are very similar, even though conceptually they perform opposite tasks.
- get:
- retrieves an input or stored value and (ultimately) outputs it to the display.
- is mostly like <let> with
echo
andself
assumed. - does not require a
name=
attribute.
- let:
- receives an input value and (ultimately) stores it as a variable.
- requires a
name=
attribute.
Options
Both tags have these options in common:
- arg= (input): name of POST field to retrieve as tag input
- USAGE: form processing
- chr= (input): ASCII number of character to use as tag input
- copy= (input): name of another variable whose value should become the input
- val= (input): value to use as input