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

       Web browser: ---
            Bug ID: 44282
           Summary: Allow preload= and
                    template-name[field-name]=field-value to coexist
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Hi.

I have a large form defined with 80 odd fields. I would like to be able to
preload a number of the fields from a master page, but also pass in specific
values from the parent page.

So I have:
{{#formlink:form=Enquiry Form|link text=Add a new enquiry|link
type=button|query string=preload=Master_Enquiry&Enquiry
Template[Caller]={{PAGENAMEE}}&Enquiry Template[First name]={{{First
name|}}}&Enquiry Template[Surname]={{{Surname|}}}&Enquiry
Template[Town]={{{Town|}}}}}

However, even though the Caller, First name, Surname and Town are empty in the
master page, the resulting form has these fields blank rather than filled in
with the supplied parameters.

It would be useful to allow preload= and template-name[field-name]=field-value
to coexist so you can preload both "static" field values and "dynamic" ones
passed in from the formlink.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to