Lasso Soft Inc. > Home

-ResponseRequiredColumnMissingError

-ResponseRequiredColumnMissingError specifies the page to return if a required column is missing a value within a Classic Lasso action which is performed in an HTML form or URL. If this tag is not specified then the standard -ResponseAnyError or -ResponseAny tag will be used instead.

Equivalent to -ResponseReqFieldMissingError, -ResponseReqColumnMissingError, and -ResponseRequiredFieldMissingError.

The file path parameter for this tag should be absolute from the root of the Web serving folder or should be specified relative to the HTML form action or the base of the URL in which the action is defined.

Note: -Response... tags cannot be used with an action specified in an [Inline] tag. Instead, the results of the action should be formatted within the [Inline]...[/Inline] tags or the visitor should be redirected to another page using [Redirect_URL].

Examples

To specify the error page if a required field is missing from a URL:

Use the -ResponseRequiredColumnMissingError command tag. The following example returns the file required.lasso if the tag [Action_Param: 'First_Name'] or [Action_Param: 'Last_Name'] return an empty result.

<a href="Action.Lasso?-Search&
  -Database=Contacts&
  -Table=People&
  -Required&First_Name=[Action_Param: 'First_Name', -EncodeStrictURL]&
  -Required&Last_Name=[Action_Param: 'Last_Name', -EncodeStrictURL]&
  -ResponseRequiredColumnMissingError=required.lasso&
  -ResponseAny=addresponse.lasso"> Search Database </a>
Tag Link -ResponseRequiredColumnMissingError Category Response
Type Command Data Source Any
Support Synonym Version 5.0
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft