Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#145 2007-12-23 19:05:25

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

Or (if possible in your situation) move the TXP tags to the template instead of entering them in the article.

Offline

#146 2007-12-24 02:31:44

darock
Member
Registered: 2007-11-23
Posts: 54

Re: zem_contact_reborn 4.0.3.20

Does this plugin allow one to upload documents/files or is there one that does? I was reading through the guide but didn’t see anything that might have resembled it.

Offline

#147 2007-12-24 09:02:12

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

Nope, it does not support file uploads.

Offline

#148 2007-12-28 11:36:09

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.20

Ruud, I have 2 forms on a site that uses a foreign language as a default. zem_contact_lang has been edited to reflect that language.

Now we have created a second form in English, I was wondering if its possible to have any error text display in English for the English language form?

Offline

#149 2007-12-31 20:26:48

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.20

Another question – I have this code that correctly produces a button instead of an input:

<li><txp:zem_contact_submit><img src="/images/5.png" alt=""/>Save</txp:zem_contact_submit></li>

But I can’t see how to add a class to the button itself – i.e class=“save”

Edit: I know I can use the default zemSubmit class, but is there a way to set my own class to the button?

Last edited by jstubbs (2007-12-31 20:35:23)

Offline

#150 2007-12-31 22:43:30

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: zem_contact_reborn 4.0.3.20

jstubbs, You could wrap the submit tag with another tag to act as a pointer so you can isolate that instance in the css.

Offline

#151 2007-12-31 22:56:37

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

Or you can just insert a normal HTML submit button. The zem_contact_submit tag is only there for historical reasons.

Offline

#152 2008-01-01 05:58:25

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

darock wrote:

Does this plugin allow one to upload documents/files or is there one that does? I was reading through the guide but didn’t see anything that might have resembled it.

I wrote an AFU (AFU = anonymous file upload) plugin for mrdale and colak some time ago. You can use the contact form on my website to request a copy if you want.


Steve

Offline

#153 2008-01-01 11:00:25

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.20

Manfre wrote:

jstubbs, You could wrap the submit tag with another tag to act as a pointer so you can isolate that instance in the css.

Thanks, I already had done that actually. And Ruud, I was not aware one could just use a plain old HTML submit button. That’s helpful.

Offline

#154 2008-01-07 02:19:39

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: zem_contact_reborn 4.0.3.20

hi,
I have my contact form as well as instructions for it in the same article. After the form is submitted the thank you screen still has all the instructions underneath it.
How can i get the submit button to return a thank you screen without the other stuff thats in the article.

heres an example of my article:

<txp:zem_contact to="infoatjfl.ie"><br /><txp:zem_contact_text label="Name"/>*<br /><txp:zem_contact_email required="0" /><br /><txp:zem_contact_text label="Phone" min=7 max=15/>*<br /><br /><txp:zem_contact_textarea label="Message *"/><br /><txp:zem_contact_submit label="Send" /><br /><txp:zem_contact_checkbox label="I would like a Free Financial Health Check" required="0"/></txp:zem_contact>

* Denotes required fields.

returns

Thank you…
  • Denotes required fields.

Last edited by kvnmcwebn (2008-01-07 02:22:15)


its a bad hen that wont scratch itself.
photogallery

Offline

#155 2008-01-07 02:32:05

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: zem_contact_reborn 4.0.3.20

kvnmcwebn,

Use the <txp:zem_contacts />’s redirect-value.

<txp:zem_contact to="infoatjfl.ie" redirect="thank-you">
	<br /><txp:zem_contact_text label="Name"/>*
	<br /><txp:zem_contact_email required="0" />
	<br /><txp:zem_contact_text label="Phone" min=7 max=15 />*
	<br />
	<br /><txp:zem_contact_textarea label="Message *" />
	<br /><txp:zem_contact_submit label="Send" />
	<br /><txp:zem_contact_checkbox label="I would like a Free Financial Health Check" required="0" />
</txp:zem_contact>

And in the section called thank-you (http://www.your-site.com/thank-you) or something another url that is specific in the redirect-attribute:

<p>Arigatou gozaimasu, thank you were much! Your message have been sent.</p>

Cheers!

Last edited by Gocom (2008-01-07 02:33:17)

Offline

#156 2008-01-07 11:03:56

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: zem_contact_reborn 4.0.3.20

thanks gocom


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB