[TYPO3-english] TMailform (pil_mailform) questions

Tommy Bergeron t.bergeron at gmail.com
Thu Apr 30 16:58:29 CEST 2009


Hi!

I would like to ask for some support about TMailform.

I just made my tmpl file (if wyou wanna see just scroll down :)

Everything seems okay, but the problem is that I'm not able to submit 
the form, I mean.. it submits but return to the same  form after... I 
would like it to work...

Thanks a lot!

<!-- ###TMAIL_FORM### begin -->
<form id="mailform" action="###FORM_URL###" method="post">
	<label for="recipient">Ce message s'adresse &agrave;:</label>
	<select id="recipient" 
name="tx_pilmailform_pi1[select][multi_recipient]">###MULTI_RECIPIENT_OPTIONS###</select>
	
	<label for="nom">Votre nom:</label>
	<input id="nom" type="text" name="tx_pilmailform_pi1[text][name]" 
value="###NAME_VAL###" /><br /><br />
	
	<!-- ###HEADER_EMAIL_INVALID### begin -->
	<p style="color: red"><b>Veuillez entrer un courriel valide!</b></p>
	<!-- ###HEADER_EMAIL_INVALID### end -->
	
	<label for="mail">Votre adresse courriel:</label>
	<input id="mail" type="text" name="tx_pilmailform_pi1[text][email]" 
value="###EMAIL_VAL###" /><br /><br />
	
	<label for="text">Votre message:</label>
	<textarea id="text" name="tx_pilmailform_pi1[textarea][message]" 
cols="30" rows="7">###MESSAGE_VAL###</textarea><br /><br />
	
	<input type="submit" class="csc-mailform-submit" 
name="tx_pilmailform_pi1[submit]" value="Envoyer" />
</form>
<!-- ###TMAIL_FORM### end -->




<!-- ###TMAIL_MAIL### begin -->
Ce message a &eacute;t&eacute; du site internet:
Nom:
###NAME_VAL###
Courriel:
###EMAIL_VAL###
Message:
###MESSAGE_VAL###

<!-- ###TMAIL_MAIL### end -->

<!-- ###TMAIL_MAIL_HTML### begin -->
<h3>Ce message a &eacute;t&eacute; du site internet:</h3>
<p>Nom:</p>
<p>###NAME_VAL###</p><br />
<p>Courriel:</p>
<p>###EMAIL_VAL###</p><br />
<p>Message:</p>
<p>###MESSAGE_VAL###</p><br />
<!-- ###TMAIL_MAIL_HTML### end -->





<!-- ###TMAIL_MAIL_USERCOPY### begin -->
Hello,

We have recieved the following information from you:

Name:			###NAME_VAL###
Email address:		###EMAIL_VAL###
User type:		###USER_TYPE_VAL###
User level:		###LEVEL_VAL###
Job description:	###JOB_DESCRIPTION_VAL###

Message:

###MESSAGE_VAL###

-- 
Regards
TMailform Team
<!-- ###TMAIL_MAIL_USERCOPY### end -->

<!-- ###TMAIL_MAIL_USERCOPY_HTML### begin -->
<h3>Ce message a &eacute;t&eacute; envoy&eacute; par vous &agrave; 
partir du site internet du Coll&egrave;ge Lafl&egrave;che:</h3>
<p>Nom:</p>
<p>###NAME_VAL###</p><br />
<p>Courriel:</p>
<p>###EMAIL_VAL###</p><br />
<p>Message:</p>
<p>###MESSAGE_VAL###</p><br />
<!-- ###TMAIL_MAIL_USERCOPY_HTML### end -->





<!-- ###TMAIL_THANKS### begin -->
<h3>Merci!</h3>
Votre message &agrave; bien &eacute;t&eacute; envoy&eacute;!
<!-- ###TMAIL_THANKS### end -->



<!-- ###TMAIL_ERROR### begin -->
<h3>Erreur!</h3>
Veuillez recommencer.
<!-- ###TMAIL_ERROR### end -->


More information about the TYPO3-english mailing list