WebFormItem
4D.WebFormItem objects are properties of the 4D.WebForm object returned by the Web Form command.
The WebFormItem class is detailed in the Qodly documentation.
History
| Release | Changes | 
|---|---|
| 20 R2 | Added | 
WebFormItem object
| .addCSSClass(className : string) adds the class specified in className to the component | 
| .hide() hides the component | 
| .removeCSSClass(className: string) removes the class specified in className from the component | 
| .show() makes the component visible | 
.hide()
.hide()
| Parameter | Type | Description | |
|---|---|---|---|
| Does not require any parameters | 
Description
The .hide() function hides the component.
For more information, please refer to the .hide() description in the Qodly documentation.
.show()
.show()
| Parameter | Type | Description | |
|---|---|---|---|
| Does not require any parameters | 
Description
The .show() function makes the component visible.
For more information, please refer to the .show() description in the Qodly documentation.
.addCSSClass()
.addCSSClass(className : string)
| Parameter | Type | Description | |
|---|---|---|---|
| className | string | -> | Name of the CSS class to add to the component | 
Description
The .addCSSClass function adds the class specified in className to the component.
For more information, please refer to the .addCSSClass description in the Qodly documentation.
.removeCSSClass()
.removeCSSClass(className: string)
| Parameter | Type | Description | |
|---|---|---|---|
| className | string | -> | Name of the CSS class to remove from the component | 
Description
The .removeCSSClass() function removes the class specified in className from the component.
For more information, please refer to the .removeCSSClass() description in the Qodly documentation.