Hello,
I have a form in which i need to redirect somewhere other than where the form is submitted to. Is this possible with javascript? I’m not a javascript programmer so I need help.
I basically have a form that adds the submission to Google groups but instead of the default google groups page I want it to redirect back to my site.
Here is a sample of my code:
<form id="info" method="post" onSubmit="window.location='http://mysite.com'" action="http://groups.google.com/group/mygroup/boxsubscribe">
<input type="hidden" name="hl" value="en">
<input id="uremail" type="text" value="email" name="email" size="29"/>
<input type="submit" id="usent" name="submit" value="Send" />
</form>
I’ve also tried adding this:
<input type="hidden" name="redirect" value="www.mysite.com">
thanks in advance for any help.