WebForm
History
Version | Changes |
---|---|
v20 R2 | Added |
The WebForm
class contains functions and properties allowing to handle your Qodly webform components. This class is detailed in the Qodly documentation.
Commands and functions
.componentName : [4D.WebFormItem](/docs/API/WebFormItemClass) objects that are available directly as properties |
.setError( msg : string) sends msg as an error message to the web form |
.setMessage( msg : string) sends msg as an information message to the web form |
.setWarning( msg : string) sends msg as a warning message to the web form |
Web Form : 4D.WebForm returns a 4D.WebForm proxy object that allows you to interact with the web form |
Web Event : object returns an object with information on a triggered event linked to a webform component |
.componentName
.componentName : 4D.WebFormItem
Description
The components of webforms are objects that are available directly as properties of these webforms.
For more information, please refer to the .componentName
description in the Qodly documentation.
.setError()
.setError( msg : string)
Parameter | Type | Description | |
---|---|---|---|
msg | string | -> | Error message to display in the web form |
Description
The .setError()
function sends msg as an error message to the web form.
For more information, please refer to the .setError()
description in the Qodly documentation.
.setMessage()
.setMessage( msg : string)
Parameter | Type | Description | |
---|---|---|---|
msg | string | -> | Information message to display in the web form |
Description
The .setMessage()
function sends msg as an information message to the web form.
For more information, please refer to the .setMessage()
description in the Qodly documentation.
.setWarning()
.setWarning( msg : string)
Parameter | Type | Description | |
---|---|---|---|
msg | string | -> | Warning message to display in the web form |
Description
The .setWarning()
function sends msg as a warning message to the web form.
For more information, please refer to the .setWarning()
description in the Qodly documentation.
Web Form
Web Form : 4D.WebForm
Parameter | Type | Description | |
---|---|---|---|
Result | 4D.WebForm | <- | New WebForm proxy object |
Description
The Web Form
command returns a 4D.WebForm
proxy object that allows you to interact with the web form.
For more information, please refer to the webForm
command description in the Qodly documentation.
Web Event
Web Event : object
Parameter | Type | Description | |
---|---|---|---|
Result | object | <- | object |
Description
The Web Event
command returns an object with information on a triggered event linked to a webform component.
For more information, please refer to the webEvent
command description in the Qodly documentation.