Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#481 2006-05-13 19:42:41
- -P-
- Member

- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: Plug-in: zem_contact_reborn
No, and the copysender is actually a function that does not work on my server if I understood correctly from this threads earlier posts.
the form looks like
<code><txp:zem_contact to=“name@something.com”>
<txp:zem_contact_text size=“40” label=“Nimi”/><br />
<txp:zem_contact_text label=“Email” size=“40” /><br />
<txp:zem_contact_text label=“GSM” min=7 size=“40” required=“no” /><br />
<txp:zem_contact_textarea label=“Viestisi” /><br />
<txp:zem_contact_submit label=“Lähetä” />
<br />
<txp:zem_contact_checkbox label=”“ required=“no” /> Some text here
</txp:zem_contact></code>
With “GSM” the error message shows normally saying that the minimum output is seven numbers. Just weird.
I tested also on a third site and there, everything works like it should, i get the error about bad email address. Server is same on these all sites, plugin should be the same version. The only difference between these 3 sites is that two of them have zem_contact_checkbox and on that third site there is not.
Offline
#482 2006-05-19 14:09:44
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: Plug-in: zem_contact_reborn
Hi Stuart, be nice if there was some way of giving the Form an id via an attribute, rather that the built in id=“zemContactForm”. Then Forms used in different pages of a site could be styled individually. Or have I missed something and it can be done already. Cheers, Lee.
Offline
#483 2006-05-19 20:10:26
Re: Plug-in: zem_contact_reborn
Just assigning a distinct id to a form won’t suffice I’m afraid.
In the current implementation the validation and e-mailing code cannot handle more than one form as all form entries are stored in a single array of POST variables, there’s no provision to differentiate between more than one form.
Offline
#484 2006-05-19 20:24:04
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: Plug-in: zem_contact_reborn
I wasn’t thinking of having more than on form on a page. I was thinking for example of having a form on the contact page and a different form on the feedback page – each with didtinct styling.
Offline
#485 2006-05-19 20:35:01
Re: Plug-in: zem_contact_reborn
Ahh, I see.
How’s about assigning a distinct id to any surrounding tag (body or any descendent) and select the form with body#contact-page #zemContactForm and body#feedback-page #zemContactForm, respectively? I, for instance, religiously have this tag in my templates: <body id="<txp:s>">, so each section’s styles could be addressed separately.
Offline
#486 2006-05-19 20:37:41
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: Plug-in: zem_contact_reborn
Very nice idea, Thanks and have a good weekend..
Offline
#487 2006-05-21 23:43:08
Re: Plug-in: zem_contact_reborn
Is there a specific reason for leaving out the “name” – label from zem_contact_lang?
Sorry if my question is answerd in this thread already, I just skimmed through it.
Offline
#488 2006-05-28 06:48:35
Re: Plug-in: zem_contact_reborn
I have a list of more than 50 checkboxes, but I don’t want to mail the complete list of checked and unchecked values (in the format: ‘value : yes/no’).
I just want to mail the checked ones. How can I accomplish this?
(Note: my php-knowledge is very limited.)
Offline
#489 2006-05-29 23:46:24
- smallt
- Member
- Registered: 2004-12-21
- Posts: 26
Re: Plug-in: zem_contact_reborn
Greetings all,
Is anyone aware of a way to forward a message entered by a user to multiple email addresses? In otherwords, could one use multiple “to” attributes on the “<txp:zem_contact>” tag? It would be nice in a situation where there are multiple admins on a site and you want to send messages to each of them. thanks!
Offline
#490 2006-05-29 23:48:29
- davejeffery
- New Member
- Registered: 2005-05-28
- Posts: 2
Re: Plug-in: zem_contact_reborn
Some of the people using my contact form have addresses with a ‘ in them e.g… (dave.o’conner@domain.com) but the contact form tells me that these addresses are not valid, does anyone know a fix to this?
Offline
#491 2006-05-30 05:04:15
Re: Plug-in: zem_contact_reborn
smallt wrote:
Is anyone aware of a way to forward a message entered by a user to multiple email addresses?
Just adding a mailing list account to your hosting setup won’t suffice?
Offline
#492 2006-06-08 09:57:29
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: Plug-in: zem_contact_reborn
hello,
I have a problem.
I use this problem and every time i get a e-mail without a sender and a englisch subject,
How can i change this ??
Roelof
Offline
#493 2006-06-12 13:40:16
Re: Plug-in: zem_contact_reborn
Hi,
I´m using send_article and its working fine for me.
I would like to preselect the receiver´s email adress. So I could take the plugin for direct requests for example. How to edit the code?
Thanks a lot.
hes
Offline
#494 2006-06-12 20:19:41
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Plug-in: zem_contact_reborn
@roelof:
You can use the subject="your own text" attribute in the <txp:zem_contact> tag for the email subject.
I don’t know why you would receive emails without a sender though… are these emails you sent yourself for testing, or ‘real’ emails from others?
Offline
#495 2006-06-13 11:32:53
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: Plug-in: zem_contact_reborn
Feature request: Be nice to be able to turn off <code><label></label></code> tags on fields. This would allow the label/input to be wrapped like:
<code><dt><label for=“name”><strong>Name</strong></label></dt></code>
<code><dd><label for=“text” class=“zemRequired text”>Text</label> <input type=“text” id=“text” class=“zemRequired” name=“text” value=”“ maxlength=“100” /></dd></code>
Or can this already be done and I’ve over looked it?
Cheers, Lee
Offline