default

### Index Up << >>

## default

CALL INFORMATION
  Parameters: name default

  Positional parameters in same order.

  The attribute hash reference is passed to the subroutine after the parameters as the last argument. This may mean that there are parameters not shown here.

  Must pass named parameter interpolate=1 to cause interpolation.

  Invalidates cache: YES

  Called Routine:

  ASP/perl tag calls:

          $Tag->default(
              {
               name => VALUE,
               default => VALUE,
              }
          )

       OR

          $Tag->default($name, $default, $ATTRHASH);

DESCRIPTION
  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? This tag is DEPRECATED anyway.

### Index Up << >>