Inherits from spObject.
component: - 
class: spFormObject


The spFormObject constitutes a foundational building block, serving as the root object from which all form-related objects inherit their attributes and functionalities. Its significance lies in its pivotal role as a fundamental template that imparts core attributes and behaviors to all form objects within the system.


One of the central responsibilities of the spFormObject is to manage and oversee a range of essential Ajax events that can transpire within form objects. These events encompass a spectrum of user interactions, including onClick, onChange, onBlur, and onFocus actions. 

Events

Event

Trigger

onClick

Occurs when a component gets clicked

onChange

Occurs when the content of the component changes

onBlur

Occurs when a component looses focus

onFocus

Occurs when a component gets focus

onExecute

Occurs when an execute action needs to be triggerd (not exported by all form components)


Methods


Returns

Description

public function get_Enabled()

'disabled' or '' 

Request status of component

public function getOwnerFormId() 

id

Get the id of the owner of the component

public function __getOwnerForm() 

name

Get the name owner of the component

public function get_ReadOnly() 

'readonly' or '' 

Get the read-only status of the component

public function get_TextColor() {

textcolor


public function get_LabelColor() {

label color


get_FieldProperties() {

enabled + readonly


public function get_ScreenReader() {  

get text for screenreaders