The Caravan Form object is a useful object which can be used to accept data and post the data to some other forms. It can be used to perform the submit action. The form object is similar to var with additional capability of movement from one Caravan server to another or from another server such as ASP as a form. The result is the same as submitting a form from the browser to the server.
Syntax
form Objectname
Form Properties
Property
Description
To specify the property that needs to be set to the form.
Syntax
form(propertyName)="Value"
_server
Description
To specify the server address where the form needs to be submitted
Syntax
form(_server)="address"
_serverport
Description
To specify the server port where the form needs to be submitted
Syntax
form(_serverport)=port number
_action
Description
To specify the file which needs to be invoked after submitting the form
Syntax
form(_action)="responsefile"
post
Description
Method used to post the form
Syntax
form(post)
_reply()
Description
To receive the response from the server.
Syntax
_reply(content)