Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#11 2007-09-20 23:54:37
- Ambitiouslemon
- New Member
- From: DC
- Registered: 2007-09-19
- Posts: 6
- Website
Re: zem_contact_reborn 4.0.3.20
Your markup for the contact form doesn’t validate since you placed the <form> tag inside an inline tag (in this case the <p> tag).
You don’t really need to play everything in a paragraph tag for us so you could either lose the <p> tag or place the form tag outside the paragraph tag.
Its an incredibly minor complaint but I was hoping you could address it anyway so our forms would validate.
thank you!
output from w3c validator:
Line 34, Column 144: document type does not allow element “form” here; missing one of “map”, “object”, “ins”, “del”, “noscript” start-tag.
…#zcr72f785f80b3bd697ad2f35cf3d15be27”>
✉
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as “<a>”, “<span>”, or “<font>”).
Offline
#12 2007-09-21 00:14:16
- maniqui
- Member
- From: Buenos Aires, Argentina
- Registered: 2004-10-10
- Posts: 3,070
- Website
Re: zem_contact_reborn 4.0.3.20
Ambitiouslemon wrote:
Your markup for the contact form doesn’t validate since you placed the <form> tag inside an inline tag (in this case the <p> tag).
I use ZCR 4.0.3.20 and it isn’t wrapped by any <p> tag (by the way, <p> is a block element).
Is is possible that you are including your ZCR form inside the body of an article?
In that case, you have to put an space in front of the starting tag, because Textile is wrapping that line with <p> tags.
Offline
#13 2007-09-21 00:36:37
- iblastoff
- Plugin Author
- From: Toronto
- Registered: 2006-06-11
- Posts: 1,197
- Website
Re: zem_contact_reborn 4.0.3.20
yah i can attest that none of my forms are wrapped in p tags either.
Offline
#14 2007-09-21 01:07:42
- Ambitiouslemon
- New Member
- From: DC
- Registered: 2007-09-19
- Posts: 6
- Website
Re: zem_contact_reborn 4.0.3.20
maniqui wrote:
In that case, you have to put an space in front of the starting tag, because Textile is wrapping that line with <p> tags.
Ah this was the issue. Thanks!
Offline
#15 2007-09-23 15:52:53
- fuls
- Member
- Registered: 2005-11-16
- Posts: 117
- Website
Re: zem_contact_reborn 4.0.3.20
Can you tell me what does “Sorry, unable to send email.” mean? Is it a hosting or form problem?
Thank you!
Last edited by fuls (2007-09-23 15:53:12)
Offline
#16 2007-09-23 16:01:09
- 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
Usually a hosting problem. It means that the PHP mail()
function call failed.
Offline
#17 2007-09-30 00:49:02
- enigma5568
- New Member
- Registered: 2007-09-30
- Posts: 2
Re: zem_contact_reborn 4.0.3.20
Okay – I was wondering if a few things are possible.
1.Is it possible to wrap the label and the input in seperate tags like the following example
<dt><label for=‘name’>Name:</label><em>*</em></dt>
<dd><input type=‘text’ name=‘sname’ value=\“What’s Your Name?\” id=‘name’ accesskey=‘N’ tabindex=‘1’ /></dd>
2.also as you can see in my code example that i have accesskey and tabindex…
How do you do those?
Offline
#18 2007-09-30 07:09:33
- the_ghost
- Plugin Author
- From: Minsk, The Republic of Belarus
- Registered: 2007-07-26
- Posts: 907
- Website
Re: zem_contact_reborn 4.0.3.20
Can I call the contact page with installed zem_contact_reborn so, that some fields will have preset values? For example it will be used for a simple shop form – when browsing desirable thing’s article we see the link “Buy it” wich is formed something like this:
<txp:section link="1" title="1" name="archive" />/product_id=<txp:article_id>
And if we follow such link the form field “product_id” will be with article_id :)
Last edited by the_ghost (2007-09-30 07:11:28)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#19 2007-09-30 12:40:51
- 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
enigma5568, both are currently not possible without hacking plugin code
Victor, <txp:php>echo zem_contact_secret(array('label'=>'Product ID', 'default'=>$id));</txp:php>
(make sure $id contains the article_id value).
Offline
#20 2007-09-30 18:12:10
- the_ghost
- Plugin Author
- From: Minsk, The Republic of Belarus
- Registered: 2007-07-26
- Posts: 907
- Website
Re: zem_contact_reborn 4.0.3.20
ruud wrote:
Victor,
<txp:php>echo zem_contact_secret(array('label'=>'Product ID', 'default'=>$id));</txp:php>
(make sure $id contains the article_id value).
Sorry, but where i should paste this code? And how i can place article_id
value to $id
?
P.S. My currently installed version is 4.0.3.12 – it has some hacks – how can i install new version? Just like any new plugin?
Last edited by the_ghost (2007-09-30 18:19:30)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline