Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [outdated] zem_contact, flexible mailto form
theturninggate,
I had the same problem over and over and was tearing my hair out over it. To my knowledge I counldnt get this working no matter what on php as cgi, and I had to come up with another solution on a customers site that ran on a windows server, I just finally gave up. There was an impenetrable problem with “posting” to index.php.
Jamie
Offline
Re: [outdated] zem_contact, flexible mailto form
Hello. This is a fantastic plugin. Very easy to implement for those non-programmers like myself. :)
However, I’m having a bit of a problem. I currently use the form without a problem on my contact page .
I’m trying to setup an online quote form, but I get the following error message after filling everything out:
‘on’ is not a valid email address
No matter what email I type in, I get that message. After re-typing it a few times, the form eventually goes through, but when I get the email the only thing is says is:
email: Yes
rather then giving me the actual address. This also occasionally happens with the ‘Phone’ field.
Any idea what I’m doing wrong?? I’ve set it up the exact way I set up my contact form so I can’t figure out why it isn’t working when every other field is.
Also, is there a way to make the form remember checked values and drop-down list selections when the person forgets to fill in a required value?
Thanks in advance for any help you can provide!
Offline
Re: [outdated] zem_contact, flexible mailto form
Hey.
I have used this plugin before without no proplems.
Now im using it on RC3 site revision 303 hosted at Texdrive and got one problem.
My configuration is extacly how its recommend to be here in this article.
Now to the problem, when email is send with the form, I get everything but the text from the textarea.
Any ideas?
Thanks
regards,
Agust
Offline
Re: [outdated] zem_contact, flexible mailto form
Ok here’s a question about the messages the form generates:
I have a contact form that sits in a collapsible area of the page. most of the time it’s hidden, but when you click contact us, it reveals. Works great except…
Errors/Thank you messages get loaded into the collapsed area and when the page is refreshed, they’re hidden.
Is there an easy way to have the messages appear in:
- a popup window
- an alert
- a different part of the page
Thanks in Advance.
BTW: doesn’t look like the forum want’s me+textile to make an ordered list, curious.
Last edited by mrdale (2005-05-05 16:10:40)
Offline
#80 2005-05-05 18:02:05
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [outdated] zem_contact, flexible mailto form
A different part of the page, Yes. It’s in the documentation.
Offline
Re: [outdated] zem_contact, flexible mailto form
> lee wrote: A different part of the page, Yes. It’s in the documentation.
I’d like some more specific instructions if anyone can help. I get the following messages when I try to follow the docs instructions.
No mailto address specified
No mailto address specified
Offline
#82 2005-05-21 13:40:45
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [outdated] zem_contact, flexible mailto form
I know Zem is very busy, but maybe someone else can show me a way to do this:
I’m using zem_contact on three different pages, in three different languages. What I would like to do is to display the error messages in the appropriate language.
There is one way I can think of and that is to copy the plugin, rename it to zem_contactnl or something like that and modify the error messages text in the plugin code. But I don’t know if I would have to rename all functions to make it work, or if it even might not work at all.
(EDIT: as was to be expected, can’t get this to work)
As you understand, I hardly know anything about php…
Last edited by doggiez (2005-05-28 13:24:53)
Offline
Re: [outdated] zem_contact, flexible mailto form
I had to switch my doctype to XHTML 1.0 transitional on my contact page to get it to validate. Anyone know how to get Zem_contact to output to XHTML 1.0 strict?
After enduring years of Art School, mild mannered Owen Waring noticed some unusual changes… the constant bombardment of criticism, it seems, had altered his DNA. Half pixel pusher, half programmer, he had become…. THE BIZARTIST
Offline
Re: [outdated] zem_contact, flexible mailto form
Ditto!!! I really don’t like to have to use a transitional doc type and if anyone figures this one out let me know.
To even the least of these…
Offline
#85 2005-05-26 19:36:15
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [outdated] zem_contact, flexible mailto form
Perhaps someone can post details of exactly what part of the HTML code is causing validation problems?
Alex
Offline
Re: [outdated] zem_contact, flexible mailto form
It’s the “name” attribute that throws the whole thing. I did some searching and this is one thing I found:
Via jayseae – The first thing that got me was the form itself. The form tags need to be outside of your block – for instance, form, then div. Close your /div, then close the /form. If you don’t do this, then the validator won’t read your block correctly – it will throw all sorts of errors, mostly having to do with disallowed elements.
So apparently if you can just throw a div inside the form element then things should work. Let me know if this helps. Thanks Zem.
To even the least of these…
Offline
Re: [outdated] zem_contact, flexible mailto form
I can verify that this works. I created a test page where I copied the xhtml output from my (very simple) zem_contact form into a blank page, and made a little validation link at the bottom. Sticking a div between the form tag and it’s contents appears to solve the validation problems with 1.0 strict: Test Page
After enduring years of Art School, mild mannered Owen Waring noticed some unusual changes… the constant bombardment of criticism, it seems, had altered his DNA. Half pixel pusher, half programmer, he had become…. THE BIZARTIST
Offline
Re: [outdated] zem_contact, flexible mailto form
Hi Zem -
Can you tell me does this line specify a 10 minute time limit on submitting the form?
safe_delete("txp_discuss_nonce", "issue_time < date_sub(now(),interval 10 minute)");
Can I change it to inverval 30 minutes to increase it?
Thanks,
Cameron
“If you build it, they will come.”
Offline
#89 2005-05-27 20:18:25
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [outdated] zem_contact, flexible mailto form
Can you tell me does this line specify a 10 minute time limit on submitting the form? Can I change it to inverval 30 minutes to increase it?
Yes, and yes.
Alex
Offline
Re: [outdated] zem_contact, flexible mailto form
How bout where to add that div in the code? I would gladly hack it up today for a hamburger on Tuesday!
To even the least of these…
Offline