LassoScript Utility
Basics Browse Detail

-ContentType

Tag Link -ContentType Category Technical
Type Command Source Available No
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security Tag
Implementation Internal Sets Lasso 8.5, Lasso 8.0

Description

-ContentType can be used in a hidden input within an HTML form to control what character set is used by Lasso to import the following input, textarea, select, etc. The value of the hidden input must be of the form charset=iso-8859-1 (using any valid character set). The value is not valid if it simply specified a character set without the charset= prefix.

By default Lasso will use the character set that is set within Site Administration to interpret incoming POST parameters.

Note: This tag will affect the [Action_Param] and [Action_Params] tags, but will not affect the [Client_GetParams] or [Client_PostParams] tags (or their args counterparts).

Syntax

<input type="hidden" name="-ContentType" value="charset=iso-8859-1" />
<input type="text" name="Field Name" value="Field Value" />

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.