Form API

Methods
clear clears a form
destructor removes a form instance and releases occupied resources
disable disables a form on a page
enable enables a disabled form
forEach iterates over all controls of a from
getItem gives access to the object of Form control
getProperties returns objects with available configuration attributes of Form controls
getValue gets current values/states of controls
hide hides a form
isDisabled checks whether a form is disabled
isVisible checks whether a form is visible
paint repaints Form on a page
send sends a form to the server
setFocus sets focus to a Form control by its id
setProperties allows changing available configuration attributes of Form controls dynamically
setValue sets values/states for controls
show shows a form on the page
validate validates form fields
Events
afterChangeProperties fires after configuration attributes of a Form control have been changed dynamically
afterHide fires after hiding a control of Form
afterSend fires after a form is sent to the server
afterShow fires after a control of Form is shown
afterValidate fires after validation of form fields is finished
beforeChangeProperties fires before configuration attributes of a Form control are changed dynamically
beforeHide fires before a Form control is hidden
beforeSend fires before a form is sent to the server
beforeShow fires before a Form control is shown
beforeValidate fires before validation of form fields has started
buttonClick fires after a click on a button in a form
change fires on changing the value of a control
click fires after a click on a button in a form
validationFail fires when validation of a form fails
Properties
align sets the alignment of controls inside a form
cols arranges controls inside of Form horizontally
css the name of a CSS class(es) applied to Form
disabled makes a form disabled
height sets the height of Form
hidden defines whether a form is hidden
padding sets padding for controls inside a form
rows arranges controls inside of Form vertically
title specifies the title of Form
width sets the width of Form
Back to top