Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1285 2013-01-08 22:00:11

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: zem_contact_reborn 4.0.3.20

@hilaryaq I would like a look at your plugin please…. I’m not sure what you would do with it, probably ask ruud :)

Offline

#1286 2013-01-09 01:09:16

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.20

uli wrote:

Whatever you put into the name attributes is used as the ID.

Thanks Uli! Worked a treat. I didn’t know about the name attribute being used as the id.

Offline

#1287 2013-01-11 15:48:54

jfp
Member
From: Clamart, France
Registered: 2004-04-02
Posts: 21
Website

Re: zem_contact_reborn 4.0.3.20

For years I used zem_contact_reborn with success on few websites.

Suddenly one of them displaying error.

The form in question is here: http://www.zecraft.com/contact
Impossible to make it working, we have that instead:
Invalid value for “”, “[message content]” is not one of the available options.

The same form, works well here:
http://porchez.com/about/3/Contact-Jean-Francois-Porchez

<txp:zem_contact label="" subject="[contact]" form="mycontactform" from="info@website.com" to="email@website.com" />

The two websites feature same TXP, same plugin versions, same server. Unique difference is the later have theses things on a content/article when the buggy one on a presentation/page.

How to resolve this? So far no success.

{Edited to add some Textile for better code display. – Uli}

Last edited by uli (2013-01-11 16:20:52)

Offline

#1288 2013-01-11 16:23:46

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: zem_contact_reborn 4.0.3.20

There are some id="invalid" and name="invalid" in the form’s source code. Try to get rid of them. Have you entered something in the name attributes, special characters, apostrophes, something that’s not viable for an ID?

Last edited by uli (2013-01-11 16:24:38)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1289 2013-01-11 21:48:59

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: zem_contact_reborn 4.0.3.20

Hi, quick question
Is there any way to add an address email BCC: Blind Carbon Copy (sorry I’m not sure if it’s correct in English. Copia Oculta en Español) as receiver? I want all messages go to an hidden email too.
Thanks

Offline

#1290 2013-01-11 21:59:37

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: zem_contact_reborn 4.0.3.20

You could try whether this hack is still working.

And also this one, which, BTW, is Ruud’s reply to a question of yours ;)

Last edited by uli (2013-01-11 22:08:14)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1291 2013-01-11 23:50:34

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: zem_contact_reborn 4.0.3.20

It’s true. I had forgotten to check XP
It works like a charm :)
Many thanks to Ruud and you, of course.
Have a happy weekend
Cheers

Offline

#1292 2013-01-13 15:06:12

jfp
Member
From: Clamart, France
Registered: 2004-04-02
Posts: 21
Website

Re: zem_contact_reborn 4.0.3.20

Thanks for your help, I found the problem. I tried to use the good form from my other website, to compare what happening. After few tests, I spotted the problem.

This one doesn’t works:

<txp:zem_contact_select label="" list="↓ Select your topic,Custom Font,Font Modification,Lettering and logotype,Workshop,Interview,Simple question,Feedback" />

This one works:

<txp:zem_contact_select label="objet" list="↓ Select your topic,Custom Font,Font Modification,Lettering and logotype,Workshop,Interview,Simple question,Feedback" />

So, an empty label=”“ is the cause of my bug.
Thanks again, specially @uli comment:

Have you entered something in the name attributes, special characters, apostrophes, something that’s not viable for an ID?

Offline

#1293 2013-01-31 11:27:33

heternova
Member
Registered: 2007-01-26
Posts: 14

Re: zem_contact_reborn 4.0.3.20

Hi all,

I have the following form:

<li class="radio"><txp:zem_contact_radio break="" label=" Bitte informieren Sie mich per E-Mail" group="Mailingliste" /></li>
<li><txp:zem_contact_text break="" label="Name" /></li>
<li><txp:zem_contact_text break="" label="Vorname" /></li>
<li><txp:zem_contact_email break="" label="Email" /></li>

<li class="radio"><txp:zem_contact_radio break="" label=" Bitte informieren Sie mich per Briefpost" /></li>
<li><txp:zem_contact_text break="" label="Name" /></li>
<li><txp:zem_contact_text break="" label="Vorname" /></li>
<li><txp:zem_contact_text break="" label="Adresse" /></li>
<li><txp:zem_contact_text break="" label="PLZ" /></li>
<li><txp:zem_contact_text break="" label="Ort" /></li>
<li><txp:zem_contact_text break="" label="Telefon" required="0" /></li>

My problem is that all the required fields are requested to the user. But the behavior should be different, like this: if the user checks the first radio button, only the required field corresponding to the radio button should be required, not all (in this case only “Name”, “Vorname” and “Email”. If the user check the second radio button, only the second group of required fields will be considered.

But at the moment, if a user clicks on the first radio button, he must fill all the required fields, event the one of the second radio button and this makes no sense (if you want to receive the mailing via Email there is no reason to ask the address).

Should I search a javascript solution or someone else has already implemented it on zem_contact_reborn?
Thank you to everybody for the help
Heter

Last edited by heternova (2013-01-31 13:21:05)

Offline

#1294 2013-01-31 13:21:42

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: zem_contact_reborn 4.0.3.20

I think adi_contact does what you need:

submitted field combination check


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1295 2013-01-31 14:46:03

heternova
Member
Registered: 2007-01-26
Posts: 14

Re: zem_contact_reborn 4.0.3.20

Hello Uli,

That’s the second (or third) time you helped me. Many many thanks, it works perfectly!!

Danke!
Heter

Offline

#1296 2013-01-31 20:49:16

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: zem_contact_reborn 4.0.3.20

Glad to hear that, bitte :)

But it’s actually been Adi.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB