Forum Moderators: open

Message Too Old, No Replies

How can I stop form redirecting?

HTML Question

         

serioussamp

7:41 pm on Feb 19, 2009 (gmt 0)

10+ Year Member



Is there a way I can stop the following HTML form from redirecting to the confirmation page? It is a slightly modded version of the submit comment form for my blog. I want to add it to my myspace page to directly comment to the blog.

<head>
<style type="text/css">
.style1 {
color: #0000FF;
}
</style>
</head>

<form action="http://example.wordpress.com... method="post" id="commentform">

<p><span class="style1"><strong>I am now writing a Widgets Blog, Come visit
it </strong></span><a href="http://example.wordpress.com">...
<p>Add a direct comment to the blog below!</p>
<p class="style1">
<textarea name="comment" id="comment" cols="40" rows="10" tabindex="4"></textarea>
</p>
<p>
<span class="style1">
<input name="submit" type="submit" id="submit" tabindex="5" value="Add comment" /></span>
<span class="style1">
<input type='hidden' name='comment_post_ID' value='69' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
</span>
</p>

</form>

Thanks for any help,
Sam

[edited by: tedster at 8:35 pm (utc) on Feb. 19, 2009]

tedster

8:38 pm on Feb 19, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello seriousamp, and welcome to the forums.

The confirmation page redirect is not created by the html - it's done by the forum script on the server. So the only way you can change that is if you have access to the actual scripting. Since your form actions are on the Wordpress servers, I don't think you can change that scripting.

[edited by: tedster at 9:10 pm (utc) on Feb. 19, 2009]

serioussamp

8:45 pm on Feb 19, 2009 (gmt 0)

10+ Year Member



thanks tedster, I dredded as much. Thanks for yourq uick reply.