https://bugzilla.wikimedia.org/show_bug.cgi?id=28260

           Summary: Querying form variables
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SemanticForms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I would like to use the values in a preloaded page to control the display of
the form, but I don't see how to query those values in my form when the page
has not yet been created. The values could be stored by the form's template and
then queried using #ask, but that's not possible until after the page is
created (and sure would be inefficient in many cases). I'm wondering if one
approach is a new SF parser function to query those variables specified in the
query string or in preloaded data, eg
<nowiki>{{#formvar:templatename|varname}}</nowiki>. Maybe there's a workaround
for the time being?

This new feature would eliminate many many forms that are merely minor
variations on a theme, e.g. making a field mandatory that is usually optional.
I note that if the category were an input, then the form could look up the
category and easily format those fields corresponding to its data model. 

Thanks.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to