Extension talk:Page Forms

Break between allowed values
In a form I want to have the checkboxes among each other. How does it work?


 * Do you mean you want them to display like a list, instead of in a wrapping line? Badon 20:43, 2 January 2012 (UTC)


 * I'm not sure I understand the question, but this might help. Yaron Koren 23:48, 2 January 2012 (UTC)


 * It helps! Perfect! Thank you!

Templates only at entered values
My form refers to two templates.

Is it possible that the templates only come into effect if the user has entered a value?

Example: In the form I ask for an author. But my users doesn´t select an author.

Now I want that the line:

Author: disappears in the articles.

80.149.179.2 13:30, 4 January 2012 (UTC)


 * That doesn't sound like a form issue - but you can use #if in the template for that. Yaron Koren 13:38, 4 January 2012 (UTC)

Edit with form tab; based on namespace
Hello,

i want to use the Edit with form tab, based on namespace in the Main namespace (german: "Seiten"?).

How i have to name the article with this text:  has default form::Test 

I thought: "Meta-Pagename":Seiten, but that does not work.

With the namespace "Hilfe" it works...

Thank you!


 * I'm not sure, but try "Project:Main". Yaron Koren 14:27, 5 January 2012 (UTC)
 * No, that also does not work...


 * Sorry for the long delay - it turns out that the German translation you should use is 'Startseite'. Still, the word "Main" should also work - that's a bug. Yaron Koren 16:57, 10 January 2012 (UTC)

Replicating section edit edit summary
A nice feature I think would be to replicate the automatic edit summary which is included upon normal section editing, but which would be included for Semantic Forms based upon which field is updated, if it were one field. I know for me that would really help out with tracking revision histories and what was updated, since section editing is not possible. Thorncrag   19:07, 5 January 2012 (UTC)


 * I doubt that's possible - with regular MediaWiki editing, it's known in advance which section the user is editing, but with a form, you don't know which fields they've edited until the moment they hit "save". Yaron Koren 19:20, 5 January 2012 (UTC)

PAGENAME magic word not displaying in forms
When any of the family of magic words ( ,  , etc) are used in a form definition, they are not displayed in the form. However, other magic words, such as and , display in the form just fine.


 * What versions of SF and MediaWiki are you using? Yaron Koren 13:46, 9 January 2012 (UTC)


 * Thank you for your reply. I am currently running MediaWiki 1.17, SMW 1.6.1, SF 2.3.2 -Jay


 * This should definitely work in 2.3.2. Is your wiki public somewhere or could you reproduce the problem on http://scratchpad.referata.com ? --F.trott 09:00, 10 January 2012 (UTC)


 * Not working for me either...
 * I am using: MediaWiki 1.18.0, PHP 5.3.8 (cgi-fcgi), MySQL 5.5.19, Semantic Forms (Version 2.3.2), Semantic MediaWiki (Version 1.6.1). My wiki is behind VPN, but everything works as expected in Scratchpad Trial -- SJR


 * I experienced similar results after upgrading to SMW 1.7; however, does function in scratchpad forms: [Example] -Jay

Editing a form places the template above all section headers
Consider the following scenario where you have a template contained between section headers such as the following:

=Header 1=

=Header 2=

Next, using the 'edit with form' option, you make modifications to the input parameters referenced in the template. Upon saving these changes, the wiki formatting is spit out like this:

=Header 1=

=Header 2=

Is there a way to keep the template between those headers and still use the 'edit with form' option?

Thanks in advance. Morguen 14:42, 9 January 2012 (UTC)


 * No, unfortunately - you can do something like that with partial forms, though it won't be with the "edit with form" tab - it would just be a link on the page. A true solution for this would involve editing of sections - see here. Yaron Koren 16:30, 9 January 2012 (UTC)