Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#376 2008-08-07 17:04:33
Re: zem_contact_reborn 4.0.3.20
No that doesn’t do it Ruud. If I’m correct, “default” is for setting an email address in case the visitor doesn’t enter anything. I’m not sure why you might want to do that What I require is to place some text into the field such as “we require your email address” which disappears when the visitor clicks the box, something like you can do for the “search” field in a search form, or even like you can do for the “submit” input in ZCR. For this I need to be able to set “value” which you can do for the “submit” input because it picks up the “label” attribute (if my memory is correct).
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#377 2008-08-07 20:43:29
Re: zem_contact_reborn 4.0.3.20
Hello,
I have only a small comprehension/understanding problem by using zem_contact_reborn 4.0.3.20 with textpattern 4.0.6.
I call zem_contact_reborn for sending articles by email over a section named “artikel_senden”. And this section is only calling a form
<txp:output_form form="artikel_senden" />
The form “artikel_senden” looks like this.
<txp:zem_contact to="you@example.com" send_article="1" label="Artikel versenden" thanks="Der Artikel wurde an die von Ihnen angegebene E-Mailadresse gesendet." >
<p> <txp:zem_contact_text label="Ihr Name:" /></p>
<p> <txp:zem_contact_email label="Ihre E-Mailadresse:"/></p>
<p> <txp:zem_contact_email label="E-Mail des Empfängers:" send_article="1" /></p>
<p> <txp:zem_contact_textarea label="Ihre Mitteilung:" /></p>
<p> <txp:zem_contact_submit label="Senden" /></p>
</txp:zem_contact>
In my default-articleform I have also a call in this way.
<a href="http://www.ukraine-nachrichten.de/index.php?s=artikel_senden&id=<txp:article_id />&zem_contact_send_article=yes"><img src="/images/email.png" alt="E-Mail" title="E-Mail" /></a> Artikel mailen
First, it’s working fine. The user can send the article and get’s it.
What is disturbing me is, that when the “article_senden” form shows up, there is also under the “send” button the entire content of what the default article_form should bring up (article_body, comments and so on). I only want this send_article form, but I don’t understand where the error lies.
Thanks
Offline
#378 2008-08-12 17:08:12
- danieljacoby
- New Member
- Registered: 2008-08-12
- Posts: 3
Re: zem_contact_reborn 4.0.3.20
I can’t get to install zem_contact_reborn. I get a blank page even when using the SecFilterScanPOST Off in the .htaccess file. I’m using Textpattern 4.0.6. Any hints?
Offline
#379 2008-08-12 17:16:24
Re: zem_contact_reborn 4.0.3.20
Do you mean during installation? Have you tried using the gzipped version?
Last edited by thebombsite (2008-08-12 17:18:00)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#380 2008-08-12 17:47:20
- danieljacoby
- New Member
- Registered: 2008-08-12
- Posts: 3
Re: zem_contact_reborn 4.0.3.20
Thank you, thebombsite, I just tried the gzipped version and it worked fine. :)
Offline
#381 2008-08-16 15:42:59
Re: zem_contact_reborn 4.0.3.20
Hello, spent some time reading through the whole thread but couldn’t find any solution to what I’m trying to achieve.
I was wondering whether it’s possible with ZCR to;
1. provide focus to the first form field after the page loads?
2. make the form disregard the default text in a textarea which is set as required=“1” when validating? Something like: display error if field is empty or is equal to ‘default’.
3. implement something like this: <textarea name="message" rows="6" cols="40" required="1" onfocus="this.value=''; return false;">type your message...</textarea>
Hope you can help.
Thanks ~ j
Offline
#382 2008-08-16 17:58:46
Re: zem_contact_reborn 4.0.3.20
- probably requires a bit of Javascript
- requires hacking plugin code.
- allowing extra attributes such as onfocus is something I plan on doing after the TXP 4.0.7 release
Offline
#383 2008-08-16 23:52:11
Re: zem_contact_reborn 4.0.3.20
Thanks Ruud for the very quick response!
I am not a coder/developer and the code I quoted was from another forum.
Any chance you can provide further instructions for #1 and #2?
Thanks.
Offline
#384 2008-08-17 15:27:47
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: zem_contact_reborn 4.0.3.20
For #1: have a look at the DOM of any Google search form (extract here) or, if you prefer jQuery, see Bloke’s reply below.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#385 2008-08-18 19:30:45
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: zem_contact_reborn 4.0.3.20
I have the word, “contact” appearing on my contact form here . How do I get rid of that text?
Offline
#386 2008-08-18 19:37:27
Re: zem_contact_reborn 4.0.3.20
In your stylesheet, add the rule legend {display:none;}
Offline
#387 2008-08-18 23:50:35
Re: zem_contact_reborn 4.0.3.20
Or better: set label="" in the zem_contact tag.
Offline
#388 2008-08-19 01:29:33
Re: zem_contact_reborn 4.0.3.20
Honest question – I was always leaving the legend in the code there because I thought people using screen readers find it helpful. Maybe this is misguided? Or now that I think about it, do screen readers even acknowledge elements with display set to none? Sorry…pretty off topic.
Thanks for your plugin and your help ruud!
Offline
#389 2008-08-19 07:41:50
Re: zem_contact_reborn 4.0.3.20
That would make sense, leaving it there for people with screen readers… but I guess that depends on how the screen reader works (I’ve never used one).
Offline
#390 2008-08-19 22:08:44
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: zem_contact_reborn 4.0.3.20
Why do I get this error message when filling out the form?
* Required field, “Full Name”, is missing.
* Required field, “Email”, is missing.
* Required field, “Phone”, is missing.
* Required field, “Message”, is missing.
Customer Inquiry Form
* The form was already submitted, please fill out a new form.
Offline