Pre-select form tab (if multiple schemas): Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
(VisualData update)
No edit summary
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
If a page has multiple form schemas attached, you can pre-select the active tab with the parameter <code>selected-schema</code>


<syntaxhighlight lang="wikitext">
...
|selected-schema = School class
...
</syntaxhighlight>
{{#visualdataform: School district, School, School class
|title = Edit
|action = edit
|edit-page = {{{pagetitle}}}
|return-page = {{FULLPAGENAME}}
|view = popup
|popup-size = larger
|css-class =
|edit-freetext = false
|edit-categories = false
|edit-content-model = false
|edit-target-slot = false
|layout-align = top
|popup-help = true
|submit-button-text =
|layout =
|submit-button-text =
|validate-button-text =
|selected-schema = School class
}}

Latest revision as of 10:34, 16 May 2024

If a page has multiple form schemas attached, you can pre-select the active tab with the parameter selected-schema

...
|selected-schema = School class
...
form is loading...