2009/5/7 Patrick Nagel <[email protected]> > > Hi, > > I'd like to put some "dynamic information" on a form that helps the user to > fill the form. > > Example: > A project manager wants to create a translation task page (where he assigns a > work unit to a translator). The project page (which contains the #formlink to > create the translation task page) already has information stored that would > help to narrow down which translators would be best suited for the task at > hand > (like source language, target language, needed area of expertise...). > Now I could just preload the first suitable translator into the task form by > using a query on the project page, of which the result (limit=1) could be > appended to the #formlink query_string. But that's not what I want. I'd like > to > give the project manager some more freedom, while guiding him with data > determined through the project's parameters: I'd like to have the full query > result (a list of translators) on the translation task form. > The project manager would then still need to type the translator's name (with > auto-completion on all translators), but that's ok. > > But where do I get the input data for the query inside the form? There seems > to > be no way to pass anything else than preload data to a form (which can only > end > up in fields, as if the user filled it in). It would be really nice to have a > way to supply arbitrary parameters to forms, which could be used (displayed, > or > used within inline queries...) in the forms (a bit like you use templates in > MediaWiki). > > Is there a way which I'm just not seeing? Or if not, would it be feasible to > implement something like that?
Have you looked at the "Call" Extension? http://www.mediawiki.org/wiki/Extension:Call Not sure if you can hack this to do what you want, or if it can be made to play nicely with SF, but it may be worth having a look at this if you didn't already. Cheers, Dan. > Patrick. > > -- > Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc > Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
