|
VDaemon
PHP Library |
VDaemon
Extension | Table of Contents
VDaemon Reference
<FORM> Custom Tag
Creates a VDaemon server-side object that maps to the form HTML element and allows
you to create a container for elements in a Web page.
Syntax
<form name="formName"
method="POST"
action="formProcessingPage"
anchor="formAnchor"
clientvalidate="true"|"false"
populate="true"|"false"
runat="vdaemon">
Other input elements, and so on.
</form>
Name Attribute
Use the Name attribute to determine the unique identifier name for the VDaemon form
custom tag. Name attribute is required.
Method Attribute
Sets how to send the form data to the server. VDaemon allows only POST method.
Action Attribute
Acts like standard HTML form action attribute.
Anchor Attribute
Adds anchor section to the form redirection URL. In case of errors VDaemon will redirect
user to the following URL:
SCRIPT_NAME?QUERY_STRING#ANCHOR
ClientValidate Attribute
Determines if client-side validation will be performed. To avoid client-side
validation set it to false. Default value is true.
Populate Attribute
Specifies if form elements should be filled with data user has entered on previous submit/validation
cycle if validation has failed. Default value is true.
RunAt Attribute
Set the RunAt attribute to vdaemon to allow the form to be processed by VDaemon.
|