Edit Record Widget
Collaborate with us
Edit this page on GitHub
Allows the user to create or edit a single record of an Entity or a Structure.
The layout of the Edit Record widget is implemented in a tabular way, which limits the organization of the inputs and its captions. The Form widget implements the same functionality with a more flexible layout.
Use the Form widget instead of the Edit Record widget to create or edit a single record of an Entity or a Structure.
Properties
Name | Description | Mandatory | Default value | Observations |
---|---|---|---|---|
Name | Identifies an element in the scope where it is defined, like a screen, action, or module. | Yes | ||
Source Record | Current record being edited in the widget. | The expression used in this property (if present) is evaluated only when the web screen is loading, immediately after the Screen Preparation. This property is always evaluated, even when the widget is inside an If widget. |
||
Record Definition | Entity or structure that defines the internal values of the widget. | Yes | ||
Display Columns | Specifies if the widget presents records in one or two columns. | Yes | 1 | |
Label Width | Width of the label in columns. Other accepted units are pixels(px), points(pt), or percentage(%). Overrides the style sheet definition. | |||
Cell Height | Height of cells in the table in pixels. Other accepted units are points(pt) or percentage(%). Overrides the style sheet definition. | |||
Cell Spacing | Space between cells in pixels. Overrides the style sheet definition. | |||
Style Classes | Specifies one or more style classes to apply to the widget. Separate multiple values with spaces. | "EditRecord" | ||
Label Style | Specifies one or more style classes to apply to labels. Separate multiple values with spaces. | "EditRecord_Caption" | ||
Value Style | Specifies one or more style classes to apply to values. Separate multiple values with spaces. | "EditRecord_Value" | ||
Extended Properties | ||||
Property | Name of an attribute to add to the HTML translation for this element. | You can pick a property from the drop-down list or type a free text. The name of the property will not be validated by the platform. Duplicated properties are not allowed. Spaces, " or ' are also not allowed. |
||
Value | Value of the attribute. | You can type the value directly or write expressions using the Expression Editor. If the Value is empty, the corresponding HTML tag is created as property="property". For example, the nowrap property does not require a value, therefore nowrap="nowrap" is added. |
Runtime Properties
Name | Description | Read Only | Type | Observations |
---|---|---|---|---|
Record | Current record being edited in the widget. | Record | ||
Valid | False when the Valid runtime property of one or more widgets grouped by the Edit Record is False. | Yes | Boolean | |
Id | Identifies the widget instance at runtime (HTML 'id' attribute). You can use it in JavaScript and Extended Properties. | Yes | Text |