Extension talk:FormMailer

Can you give an example of this in use with simpleForms? Sj 00:22, 24 July 2007 (UTC)

Hi. Good site.

Feature to Semantic Forms extension
Hi Nad, I always wanted something like this to Semantic Forms extension, but i think will need to do some modifications on semantic forms to include your extension functionality. I posted on groups about this, but the SF dev doesn't think this interesting. So i thought if you could add this feature on Semantic forms. Look here to see the request, maybe you can help. It's Leonardo post http://groups.google.com/group/semantic-forms/browse_thread/thread/765220078304d987 What do you think? Lleoliveirabr 23:23, 3 August 2007 (UTC)
 * Implementing an in-wiki workflow solution is one of our main priorities currently on organic design. We will be using semantic forms as part of this solution but we don't require any modification of semantic forms for our workflow solution. I think that workflow is achieved more effectively by moving work items amongst role's categories rather than emailing them to role's inboxes. --Nad 23:42, 3 August 2007 (UTC)

Parse error: unexpected $ in line 52
Hello,

I got an error: Aug 7 23:46:28 localhost apache2: PHP Parse error:  syntax error, unexpected '$' in /var/www/atq.ekopedia.org/extensions/FormMailer.php on line 52

Using PHP 5.2.0 on Debian Etch with Mediawiki 1.9.3.

Any idea of that issue?

Thanks, Jluc
 * There was a typo in the code, it should be working now --Nad 17:27, 8 August 2007 (NZST)
 * Thanks, it now working! But also, is it normal that the code is not closed? There is no "?>" (as you can see I'm not a PHP dev. sorry if I'm misunderstanding). Jluc

Form exemple
Hello,

Can you give us a simple form exemple. I've got difficulties to get it working.

Also, that's may be the reason, I got the following error: PHP Warning: Invalid argument supplied for foreach in /var/www/atq.ekopedia.org/extensions/FormMailer.php on line 63

Thanks, Jluc


 * Error solved; thanks to #PHP on IRC :) Now using:

$wgFormMailerRecipients = array('name@domain.com'); instead of: $wgFormMailerRecipients = 'name@domain.com';

Jluc

I need an example too :)
I'm not very familiar with programming, but installed the SimpleForms ext and I can't see the problem with this code:

Any suggestions? It's in this page: http://citilab.eu/wiki/index.php/UNTITLED --Esenabre 18:46, 27 March 2008 (UTC)

I can't get it to work, yes I'm probably missing something
 hidden: name="formmailer" value="formmailer" text:* name="name" prompt="Your Real Name" select: name="category" prompt="Please select problem category" option="Linux Software" option="Linux Hardware" text:* name="summary" prompt="Problem summary" textarea: name="description" prompt="Problem description" rows="10" cols="50" select: name="priority" prompt="Priority" option="Low" option="Medium" option="High" value="Medium"
 * I have FormMailer
 * I have FormHandler
 * I've put in a simple form:

Then when I try to post I get this error:

Fatal error: Call to a member function toString on a non-object in /usr/local/mediawiki/includes/UserMailer.php on line 110 --Andy Reed 04:17, 4 May 2008 (CST)

I need help with this
Running Mediawiki 1.12.0, any help would be greatly appreciated.

Any idea on how to get a specific field required. In other words, to force the user fill out specific filed(s), let's say email? email