Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#541 2009-01-03 02:00:02

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: zem_contact_reborn 4.0.3.20

ul class="zemError">
	<li>Required field, “<strong>What's Your Name?</strong>”, is missing.</li>
	<li>Required field, “<strong>What's Your eMail?</strong>”, is missing.</li>
	<li>Required field, “<strong>Where are you from?</strong>”, is missing.</li></ul>

Not sure what the problem is as I did populate the fields. You can also see these errors when you click the “ask” button again.

Note: The ask button doesn’t work in the Chrome browser.

Last edited by MattD (2009-01-03 02:00:38)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#542 2009-01-03 18:43:00

facho
Member
Registered: 2007-04-15
Posts: 64

Re: zem_contact_reborn 4.0.3.20

Thanks for showing me that. Unfortunately, I don’t know what to do with the information at this point. It seems like the form is not recognizing the data input by the user and thinking everything is blank. Since there is no way to make email not required, I don’t see a cheap way around it. I’ll have to pull it and hope someone familiar with this type of problem chimes in.

thanks!

Offline

#543 2009-01-05 18:56:11

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

Re: zem_contact_reborn 4.0.3.20

Facho —

I assume you’ve taken down the link to the form now, since it’s just an email link, but your button “Ask Allison Your Question” doesn’t seem to work in Safari, either.

Offline

#544 2009-01-06 08:31:50

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: zem_contact_reborn 4.0.3.20

Hi all,

I am not able to get the form working. When I fill it out and hit “send”, the browser just seems to get stuck in an endless loop and after a long wait I get a Network error.

I used the form on another site, on the same host (Dreamhost) without any problems. Any idea what could be the issue?

Thanks in advance.

Offline

#545 2009-01-06 09:39:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: zem_contact_reborn 4.0.3.20

can you post here what you have in the form?

Last edited by colak (2009-01-06 09:40:21)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#546 2009-01-07 11:00:39

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: zem_contact_reborn 4.0.3.20

Here’s what my form contains:

<txp:zem_contact label="" to="me@husainhk.com">
	<txp:zem_contact_text label="Name" /><br /><br />
	<txp:zem_contact_email label="Email" /><br /><br />
	<txp:zem_contact_textarea label="Your Message" cols="25" /><br /><br />
	<txp:zem_contact_submit label="Send" />
</txp:zem_contact>

Offline

#547 2009-01-08 14:43:08

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: zem_contact_reborn 4.0.3.20

mhm, sorry if i’m merely too blind to find the correct thread, but i was looking for hints to using z_c_r with a multi (dual!) language site … there is supposed to be a tutorial by Els, i think?

merci, in advance …

Offline

#548 2009-01-08 16:38:08

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,054
Website GitHub Mastodon Twitter

Re: zem_contact_reborn 4.0.3.20

Hakim, your code seems fine… Are you calling it from a page template, a form or a page?

Funtoosh, I found this for you but it might not be appropriate. I guess that you want to know because you are using the mlp plugin. If this is the case you might get more precise responses if you post in that thread. If you do find the eventual code, maybe a submission to txptips will help future users.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#549 2009-01-08 16:38:28

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: zem_contact_reborn 4.0.3.20

funtoosh

It took me a while to find it myself, it was in the very first zem_contact_reborn thread that has long since been archived :)
I haven’t been using this for ages, because now there is MLP. It’s a great help for localizing not only your contact form but the entire site.

But if you have your reasons for not using MLP, this is what I did (every contact form needs to be in a separate section for this to work).
Open the plugin code for zem_contact_lang, and edit it like this:

'field_missing' => "Required field, "<strong>$var1</strong>", is missing.",

becomes:

'field_missing' => '<txp:if_section name="nl-contact">Verplicht veld, "<strong>'.$var1.'</strong>", ontbreekt.</txp:if_section><txp:if_section name="en-contact">Required field, "<strong>'.$var1.'</strong>", is missing.</txp:if_section><txp:if_section name="pt-contacto">Preencha o campo obrigatório, "<strong>'.$var1.'</strong>".</txp:if_section>',

You can do this for all the messages that can be displayed on the site. It just doesn’t work for the lines that are meant to appear in the emails, email programs don’t know how to handle txp tags ;)

Last edited by els (2009-01-08 16:40:54)

Offline

#550 2009-01-08 17:12:01

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: zem_contact_reborn 4.0.3.20

groetjes Els,
how come i never knew about MLP? tsss. . . .

but for now, the second version looks good enough, albeit a bit complex for an already complex form.
the single-language email is not a problem, as the recipient will prefer one language anyway.

cheers from münster,
& dankjewel!

Offline

#551 2009-01-11 23:43:50

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: zem_contact_reborn 4.0.3.20

Hi,

I’ve got a question about labels. Or rather, not using them.

The layout of the form I’m building requires me not to use labels for the day, month and year fields. This way I can have 3 select fields neatly next to each other.

If I do this, however, I don’t get the labels in the email I receive (and the copy fore the sender). For example:

1
May
2010

Even if I used labels I would get something a bit odd looking:

Day: 1

Month: May

Year: 2010

In my case the ideal format would be: 1 May 2010. This could be achieved if a form used to define the layout of the emails sent out. This would allow me to add other text to the email. For example:

Dear {Name},

You have requested accommodation from {InDay} {InMonth} {InYear} for {Pax} number of people.

etc…

The values of the {tags} would be defined by the field’s ‘name’ rather than label.

Does this make sense?

Alternatively, what can I do?

Offline

#552 2009-01-18 12:07:38

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

Re: zem_contact_reborn 4.0.3.20

oliverker wrote:

Will there be an option to upload and send a file attach a file to the form and send as part of the email for this plug-in in the future.

Hi, I posted this a while ago but had no response, I have a great need for this and if someone can add to this plugin, can you tell how much a developer would charge to do such a thing?

Thanks
Oliver

Offline

Board footer

Powered by FluxBB