Lasso Soft Inc. > Home

-ResponseUpdate

-ResponseUpdate specifies the result for a Classic Lasso -Update action which is performed in an HTML form or URL. If the current database action is not an -Update action then the page specified in a -Response or -ResponseAny tag will be used instead. If an error occurs while performing an -Update action then the page specified in a -ResponseUpdateError or -ResponseAnyError tag will be used.

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].

  • Syntax
  • Parameters
<form action="Action.Lasso" method="POST">
  <input type="hidden" name="-ResponseUpdate" value="File Path">
  ...
</form>

<a href="Action.Lasso?-ResponseUpdate=File Path&...">
Required Parameters
File Path The path of the file to return.
Examples

To specify the response to an -Update database action in a URL:

Use the -ResponseUpdate command tag. The following example returns the file response.lasso in response to the visitor following the specified URL.

<a href="Action.Lasso?-Update&
  -Database=Contacts&
  -Table=People&
  -KeyField=ID&
  -KeyValue=123&
  First_Name=Mary&Last_Name=Peoples&
  -ResponseUpdate=updateresponse.lasso"> Update Record </a>
Tag Link -ResponseUpdate Category Response
Type Command Data Source Any
Support Preferred Version 5.0
Output Type None Security Classic
Implementation LCAPI Sets 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