Last modified: 2014-02-12 23:38:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46282, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44282 - Allow preload= and template-name[field-name]=field-value to coexist
Allow preload= and template-name[field-name]=field-value to coexist
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-23 16:12 UTC by Neill Mitchell
Modified: 2014-02-12 23:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Neill Mitchell 2013-01-23 16:12:53 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links