HTML custom component
topic-form
Description
Renders a topic form for editing an existing or creating a new topic.
HTML structure
[%<topic-form type="person"></topic-form>%]
|
Attributes8
Coding name |
type
|
Description |
The serialization name or system id of the topic type.
|
Mandatory |
1
|
Coding name |
view
|
Description |
The system id of a view (field list). If not given the default fields for the topic type for the user group will be present in the form.
|
Mandatory |
0
|
Coding name |
topic
|
Description |
The system if of the topic to edit.
|
Mandatory |
0
|
Coding name |
placeholders
|
Description |
A flag for using placeholders inside the input instead of labels above the input. Only recommend for simple forms.
|
Value space |
Attribute is either present or not present. Value does not matter.
|
Mandatory |
0
|
Coding name |
silent
|
Description |
A flag for avoiding the popup message indicating that some fields are incorrect after clicking ok. The fields itself will still be marked invalid.
|
Value space |
Attribute is either present or not present. Value does not matter.
|
Coding name |
ok-label
|
Description |
Label on the button for submitting the form.
|
Default value |
Ok
|
Mandatory |
0
|
Coding name |
cancel-label
|
Description |
Label for cancelling the form without submitting it.
|
Default value |
Cancel
|
Mandatory |
0
|
Coding name |
auto-validate
|
Description |
A flag to validate just like in the form: when shown and upon every user input.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.