Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1153 2012-04-20 14:02:36

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: zem_contact_reborn 4.0.3.20

Hello,
I’m using zem_contact_reborn for a form where I can have up to two [different] email addresses. I need the first to be always the sender. Is that possible? I know zcr puts possibly the last email address as sender.

Thank you very much

Offline

#1154 2012-04-20 21:27:54

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Use <txp:zem_contact_email> for the first email field and <txp:zem_contact_text> for the second field.

Offline

#1155 2012-04-24 22:21:45

alannie
Member
From: Minnesota, USA
Registered: 2005-09-15
Posts: 150

Re: zem_contact_reborn 4.0.3.20

Is there a way to put in multiple email fields and have both be validated? For example, contact email and billing email?

Also, is there a way to display the form results on the confirmation page, for the visitor to print for their records?

Offline

#1156 2012-04-25 14:57:43

alannie
Member
From: Minnesota, USA
Registered: 2005-09-15
Posts: 150

Re: zem_contact_reborn 4.0.3.20

I noticed a mention of the HTML5 placeholder attribute being included in an upcoming version of ZCR. This hasn’t already been released, has it? Would love to see that feature!

Offline

#1157 2012-04-25 15:53:37

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

Re: zem_contact_reborn 4.0.3.20

I don’t think it has, I’ve added placeholders via jQuery in the mean time.

$('label.zemText, label.zemTextarea').remove();
$('#Name').attr('placeholder','Name');
$('#email').attr('placeholder','E-Mail');
$('#message').attr('placeholder','Message');

My Plugins

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

Offline

#1158 2012-04-25 20:45:40

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

@Alannie: yes [1], yes [1] and no.
[1] not features built into the plugin.

Offline

#1159 2012-04-26 10:11:01

[Axel]
Member
From: Switzerland/Denmark
Registered: 2007-07-26
Posts: 65
Website

Re: zem_contact_reborn 4.0.3.20

I have a heavenly modified version of ZCR, with support for a lot of HTML5 attributes. If someone is interested, I can pack it up. As I suppose a newer version of the plugin will come with TXP 4.5, I’m not going to finish it. But for the meantime it works fine for me.

Last edited by [Axel] (2012-04-26 12:47:45)


Greetz [Axel]

Offline

#1160 2012-04-26 14:09:25

alannie
Member
From: Minnesota, USA
Registered: 2005-09-15
Posts: 150

Re: zem_contact_reborn 4.0.3.20

Thanks, MattD, Ruud, and Axel. Here’s where I am:

Placeholder attribute: I’ll definitely look into this for future projects. For this particular project, the work required is a bit outside scope, so I’ve set it aside for now.

Multiple emails: I found that as long as I list the main email field (the one I want to be the “From” address) last in the form, I can add alternate email fields prior to it and they will come through in the submitted results.

Form results displaying on confirmation page: I still would like to do this, and I’m hoping it won’t require too much beyond my limited understanding of PHP. Is there a way to output the contents of the $msg array in the thanks_form I’m using?

Thanks again for your help.

Offline

#1161 2012-04-26 16:01:14

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,752
Website

Re: zem_contact_reborn 4.0.3.20

Placeholder attribute…

I also have a modded version of zcr with placeholder support. Mail me if you’d like a copy.

Form results displaying on confirmation page: I still would like to do this, and I’m hoping it won’t require too much beyond my limited understanding of PHP. Is there a way to output the contents of the $msg array in the thanks_form I’m using

As far as I remember, these are passed as POST variables to the thanks page, so you should be able to retrieve them with adi_gps or rah_gps and output them on the page. If you call up your form in Firefox and open up Firebug on the Net/Network pane and “All” sub-menu, then send your form, you’ll see a whole load of POST and GET requests appear in the firebug pane. Open the twister arrow next to POST #zcr… entry, then switch to the Post tab and you’ll see a list of post variable names. Try using these for adi_gps/rah_gps and then output the resulting txp variables on your page…


TXP Builders – finely-crafted code, design and txp

Offline

#1162 2012-05-11 10:17:52

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: zem_contact_reborn 4.0.3.20

I’m trying to pull the contents of the contact form (on the redirect thanks page) to pump them into a database (and display).

While I can see the form contents via jakob’s idea above (albeit using Chrome’s dev. tools), I can’t seem to grab the variables!

I’ve tried adi_gps and PHP ($_REQUEST, $_GET and $_POST).

Any ideas?

Edit: FIxed.

The redirect was the issue. Used a thanks_form instead, and $_REQUEST.

Last edited by rossharvey (2012-05-11 10:49:32)

Offline

#1163 2012-05-30 15:20:56

gkhillboro
New Member
Registered: 2012-05-30
Posts: 1

Re: zem_contact_reborn 4.0.3.20

Hi Guys, I hope you can help me. I have been thrown in at the deep end with a job for a client that uses TXP, which I am not familiar with. I have tried to find documentation for the related plugin and searched these forums, with no success.

We want a contact form on the contact page that has room for name, email, telephone and a dropdown selectable date.

Zem Contact Reborn plugin is already installed on TXP that is being used on the site. So my question is two-fold:

All the documentation I can find relates to installing plugins… nowhere can I find information about how to implement the plugin within an article (eg at the bottom of the contact page)….

- Firstly, How do I call the plugin into the article to show a contact form on the frontend page?
I’ve tried some <txp:contact_form_email> type tags in the article but no luck.

- How do I choose which form elements to display on the page, and also to what email address the contents of the form are subsequently sent?

Thank you very much guys!

Greg

Offline

#1164 2012-05-30 15:36:29

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,752
Website

Re: zem_contact_reborn 4.0.3.20

Hi Greg and welcome,

Have a look at this page with the zem_contact_reborn docs and you can also find that information if you look in Admin > Plugins and then click “help” for the plugin you want. There’s also this txptip on email contact forms with an example.

That should show you all you need :-)


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB