21.48Class Form

Creates a form node for data submission and file uploads.

Class Form( action, method ) from \
                 BaseDom(( "form", ContentModel.block_form, FormAttribs))
action the action where to send the form.
method How to send the form ("get" or "post").
Properties
method_get
method_post
Methods
forUploadHelper method configuring this object for upload.
Properties inherited from class BaseDom
childTypeList
children
eattr
hname
parent
profileMeta-profiles.
text
Methods inherited from class BaseDom
render
st_makesep

Properties

method_get

method_post

Methods

forUpload

Helper method configuring this object for upload.

forUpload( href )
href The URI that has to be set in the action

This method sets the following attributes of the form tag so that the form can send files to Falcon remote server-side scripts receiving the data.

- method = "post"

This settings are sensible also for generic file uploads.

Made with http://www.falconpl.org