Extension talk:Form

Oki why dont extensions work with ipbwiki..
I have tried all the forms in here ,semantic too, trying to get them to work with ipbwiki and none seem to work with it as ipb+wiki integration changes core files during installing. BUT when i run it with a pure wiki it runs great. To bad.

Why not Semantic Forms?
Hi Evan,

It's great to see another form extension on MediaWiki platform - it means there is a need for regular, non-wiki users to contribute.

I wonder why you chose to create new extension and not using Semantic Forms, for example?

I use it quite successfully for my Tech Presentations project and would be happy to share my experience with you.

Thank you, --Sergey Chernyshev 20:34, 2 October 2007 (UTC)
 * I'm thinking SW is too complex if all a person needs to do is get a simple form thing going. First you have to install SW (create tables and what not) and then install SW-Forms separately. --Kenny5 00:55, 29 July 2009 (UTC)
 * Yes semantic is by far the most complex extension I have ever seen in 6 years. I am going with this one. Okip 23:05, 3 September 2011 (UTC)

Work only on MW >= 1.11
Due to wfLoadExtensionMessages defined only since 1.11. --Hugoyar 11:57, 19 May 2008 (UTC)

Error in MW 1.13.1
I got this error: Messages file for extensions Form is not defined

Apparently fixed by changing Line 38 in SpeicalForm.body.php to: wfLoadExtensionMessages( 'SpecialForm' );

Problem in mediawiki 1.13
I'm trying to install this extention into my mediawiki and can't seem to get it to work.

I added the line into the LocalSettings.php file, checked special pages it appears as Special:Form

I created a page MediaWiki:Sample-form and a template Template:Sample

I then tried navigating to the page Special:Form/Sample and am recieving an "Internal error" message.

I can't quite figure out why this is. I recive the same error if i try to view Special:Form

Any Ideas why i would get this error?


 * NM I'm an Idoit for not understanding the previous post. after I enabled te $wgExtentionMessage line it told me to it directed me to the same fix as above.

Name not found
I installed the extention.

I created two special pages MediaWiki:Sample-form and Template:Form, in which i copied the content of the same name files.

Then i created a link to Special:Form/Sample, but when i try to go to this page i got this message :

"the form's name is incorrect. Any form exist whit this name"

Someone get an idea ?

Thanks

(Sorry for my english, i'm french, so...)

Ok we found out the solution. The problem is in the french translation where the Formpattern is defined as formulaire-$1. To solve the problem, you have just to change "formulaire-$1" to $1-form" in the page Mediawiki:Formpattern
 * Merci pour cette solution! It works!

Using a form to populate a table
I am using MediaWiki to maintain production stats on several projects. I have several people that are helping with various stages of any given project. I would like to use a form to populate the data in a table so that the users just type the information and hit Submit and the master table would be updated with the new information. Is there anything like this out there? I have checked and don't think that any of the form info I have found here would fit exactly.

Extension:SpecialForm
Did you try SpecialForm ?
 * Especially in combination with Extension:SQL2Wiki, since SpecialForm is write-only to the database. I added some stuff (table-less embedding, pagination) to code on the discussion page. —Bytesmiths 05:02, 26 November 2009 (UTC)
 * Per the note on the Extensions page for SpecialForm, it has a security flaw -- use is not recommended until the security issue is corrected. --Lisa Ridley (talk) 18:57, 24 February 2010 (UTC)

Using MagicWords to format the name title
If you want to use MagicWords in your namePattern for page naming (say, for example, you wish to name each article with a datestamp using 2024-August-28 you can do so by making the following change:

The MagicWords you have used as part of your namePattern will get parsed and converted to the appropriate text. For example, if in your form template you have defined your namePattern as follows: namePattern=namePattern= for 2024-August-28 and you create your page on January 5, 2010 and declare the "topic" to be "Discussion" when you fill out your form, the title of the page created with your form will be: Discussion for 2010-01-05
 * Edit SpecialForm.body.php
 * Find function createTitle
 * right before the last line, "return $title;", insert the following snippet of code:

http://www.mwusers.com/forums/showthread.php?14297-SpecialForm-extension-and-page-naming-question --Lisa Ridley (talk) 18:57, 24 February 2010 (UTC)

Updates for MediaWiki 1.22
I don't know which version did the changes to the Parser, but if you are using the latest version, your code can no longer work. Instead, do this:

Or else, the Parser will not allow you to call replaceVariables because of the lack of an mTitle. If you don't call parse, it will also return an error for a lack of mOutput. -Joshua.yathin.yu (talk) 04:38, 17 December 2013 (UTC)

CAPTCHA's...
The extension is CAPTCHA compatible, how come the CAPTCHA setup instructions weren't included on the extension page? And, does anybody know how to set up the CAPTCHA addon? :/ 92.15.72.235 02:10, 23 June 2010 (UTC)

working on 1.16?
Still working on 1.16... just remember to keep the name sample-form, not sample-Form.

Add input text fields dynamically to MediaWiki form
I've succesfully added input fields dynamically to my form, using javascript that was added to the Form.body.php file, but when the form is submitted, i could not retrive the added input fields.

is there a way to retrive them while the fields were added in this method? or is there another method i can add them so it would be sugmitted?

Any ideas?

Thanks.

Transcludable Forms
I'd love to be able to transclude forms in other pages. Is there a way to do that? Can I stuff  somewhere in the php, and if so, where?

Thank you! Krakriksdag (talk) 03:27, 24 January 2014 (UTC)

I figured this out - kind of. I added  to Form.body.php. It borks up the  markup on the rest of the page, though. Krakriksdag (talk) 21:56, 24 January 2014 (UTC)

Styling Drop-Down Menus
New question. Any ideas on how to change the appearance of the drop-down menus? Krakriksdag (talk) 22:54, 25 January 2014 (UTC)

Making this work with ConfirmEdit
The ReCaptcha option included does not stop spam bots which can break ReCaptcha. Anyone know how to set this extension up so it uses the captcha which is set in the rest of the site? For example it could use the ConfirmEdit extension. --Choshi (talk) 00:57, 1 March 2014 (UTC)

Forms inside a form?
I wanna make a form inside a form like demo.webmo.info, please...any help?