Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
From Troubleshooting forum: My comment form doesn't work...
The code I put into the comment form is this, but I don’t know what is wrong here:
<code>
<fieldset>
<p>* Required fields. Your e-mail address will not be published on this site</p>
<p><label>Name*</label><txp:comment_name_input />
<input type=“text” name=“name” value=”“ size=“25” class=“comment_name_input” tabindex=“2” /></p>
<p><label>Mail*</label><txp:comment_email_input />
<input type=“text” name=“email” value=”“ size=“25” class=“comment_email_input” tabindex=“3” /></p>
<p><label>Website</label><txp:comment_web_input />
<input type=“text” name=“web” value=”“ size=“25” class=“comment_web_input” tabindex=“4” /></p>
<p><label>Comments</label><txp:comment_message_input />
<textarea class=“txpCommentInputMessage” name=“message” cols=“25” rows=“5” tabindex=“1”></textarea></p>
<p><input type=“submit” name=“preview” value=“preview” class=“button” /><txp:comment_preview /><txp:comment_submit /></p>
</fieldset>
</code>
Offline
#2 2005-11-07 03:07:08
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: From Troubleshooting forum: My comment form doesn't work...
You can’t modify the form that way. Change to...
(Edit: fixed the code a wee bit in case anyone else sees this thread later.)
Last edited by Mary (2005-11-08 01:28:41)
Offline
Re: From Troubleshooting forum: My comment form doesn't work...
Hi Mary,
thanks for your reply, but the link doesn’t seem to work…
Could you post your answer differently?
Thank you, I really appreciate it!
Dada
Offline
#4 2005-11-07 04:13:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: From Troubleshooting forum: My comment form doesn't work...
Doesn’t work? You don’t get a link to a page where you can copy and paste the code? I tried to post the code here, but Textile (the thing that formats the forum text) doesn’t seem to like code again…
Offline
#5 2005-11-07 04:16:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: From Troubleshooting forum: My comment form doesn't work...
Edit: link gone.
Last edited by Mary (2005-11-08 01:29:00)
Offline
Re: From Troubleshooting forum: My comment form doesn't work...
Hi Mary,
I don’t know what the deal is. I pasted your code but it still doesn’t work. Could there maybe be some other problem?
Looking forward to your reply.
Dada
Offline
#7 2005-11-07 22:59:28
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: From Troubleshooting forum: My comment form doesn't work...
I pasted your code but it still doesn’t work.
Please be more specific than “doesn’t work”. More in the FAQ.
Alex
Offline
Re: From Troubleshooting forum: My comment form doesn't work...
Hi Alex,
what I mean with it still “doesn’t work” is that I cannot submit a comment, once I entered it into the comment form. Also there is only one button which is labeled “preview”. When I click on that nothing happens.
No preview shows and also I can’t submit the comment. It’s probably something easy that I am missing here…
I am looking forward to your reply!
Dada
Offline
#9 2005-11-07 23:52:40
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: From Troubleshooting forum: My comment form doesn't work...
What code is in the form named comment_form after following Mary’s advice?
Alex
Offline
Re: From Troubleshooting forum: My comment form doesn't work...
<code>
<fieldset>
<legend>legend</legend>
<p>* Required fields. Your e-mail address will not be published on this site</p>
<p><label>Name*</label><txp:comment_name_input /></p>
<p><label>Mail*</label><txp:comment_email_input /></p>
<p><label>Website</label><txp:comment_web_input /></p>
<p><label>Comments</label><txp:comment_message_input /></textarea></p>
<txp:comment_preview />
<p><txp:comment_submit /></p>
</fieldset>
</code>
Offline
#11 2005-11-08 00:10:22
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: From Troubleshooting forum: My comment form doesn't work...
There’s a stray </textarea>
tag, perhaps that’s part of the problem.
Alex
Offline
Re: From Troubleshooting forum: My comment form doesn't work...
I have tried it with and without it. ?
Offline