You are not logged in.
Axel wrote: (btw, Axel, when quoting your name, Textile decides to get rid of you ;)
I think it should work, because it still is a one page form, so nothing gets submitted before the final step (therefore the server side error handling would work i suppose). The used jQuery code is validating the parts of the form on the client side too.
The main problem (I think) is in dealing with server-side error handling. What if you submit the form and ZCR says there’s something wrong in a form field in step 2? Ideally, I think the visitor should see step two with an error message that indicates what’s wrong. So you’d need to use javascipt to read the server-side errors (which are returned in the HTML code) and use that information to properly display the form. Most things can be checked on the client side, to avoid server-side errors… it’s mainly the email address that can’t really be checked without actually doing DNS lookups etc.
gfdesign wrote:
Could I add an CCO field?
I’d like to have in my contact form a hidden receiver.
Is it possible?
If you mean a BCC field, edit the plugin, find the line that reads $headers = 'From: '.$from. and add just below: $sep.'Bcc: <email address>'.
Offline
I’ve got ZCR installed on a website I’m working on. Everything seems to work fine, the thanks page appears when I send messages using the form, but I don’t receive any messages in my inbox when I tested it. Can someone help out here?
The form is used here: http://www.rockyourstage.nl/contact/
Edit: I was too early, fixed it..
Edit: Didn’t fix it. Somehow if I send the messages to my hotmail-account it works, but if I try other emails it doesn’t. (It’s not in the spambox either.) Help?
Last edited by Mark (2012-03-21 10:19:29)
Offline
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
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
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
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');
Offline
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)
Offline
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