Jump to content

Topic on Extension talk:Semantic Forms Select

how to set a default value with SF_Select results

2
Revansx (talkcontribs)

If I have the following code for a Semantic Forms Select:

{{{field
|ActionItemRequestorIs
|input type=SF_Select
|query=((Category:User));format~list;sep~,;link~none;headers~hide;limit~500
}}}

How can I set one of the results as a default for a new page created by that form.

In other words, what should I provide in place of "{{mydefaultvalue}}" in the code below (which does not work):

{{{field
|ActionItemRequestorIs
|input type=SF_Select
|query=((Category:User));format~list;sep~,;link~none;headers~hide;limit~500
|default={{mydefaultvalue}}
}}}
69.5.131.1 (talkcontribs)

Same question

Reply to "how to set a default value with SF_Select results"