Index  Up  <<  >>  


[default ...]

named: [default name=``variable'' default=``default value'' set=1*]

positional: [default variable value*]

HTML example: <PARAM MV=``default'' MV.NAME=variable MV.DEFAULT=``default'' MV. set=1>

Returns the value of the user form variable variable if it is non-empty. Otherwise returns default, which is the string ``default'' if there is no default supplied. Got that?

If the flag set is present and non-zero, then the variable will be set to the default and no value returned to the page. This allows you to initialize things like country, shipping mode, and other values on a checkout page.


Index  Up  <<  >>