Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

#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

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

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

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

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

theLostShirt
Member
From: Hjo, Sweden
Registered: 2006-02-10
Posts: 36
Website

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

LetterHoofd
Member
From: Kortrijk, BE
Registered: 2006-01-20
Posts: 40
Website

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

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

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

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

Board footer

Powered by FluxBB