...

View Full Version : Redirecting a page after submitting a form



tunayx
04-13-2007, 06:13 PM
Hi, I want to redirect my web pool to another page after people submitting via clicking the submit button. How to do this?

My html code:

<!-- Begin Sparklit HTML Code -->
<FORM NAME=Choices1003186 ACTION="http://vote.sparklit.com/poll.spark?pollID=1003186" METHOD="POST" style="margin: 0px">
<INPUT TYPE=hidden NAME=ID VALUE="1003186">

<table ID="DisplayVote1003186" border="0" width=500 bgcolor="#F11001" CELLPADDING="2" CELLSPACING="0">
<tr>
<td align="center"><font size="2" color="#FFFFFF" style="font-family: ARIAL,HELVETICA; font-weight: bold"><small>Z<br>I<br>Y<br>A<br>R<br>E<br>T<br> <br>S<br>E<br>B<br>E<br>B<br>I<br>N<br>I<br>Z</small></font></td>
<td bgcolor="#000000"><font size="2" color="#FFFFFF" style="font-family: ARIAL,HELVETICA">
<small> </small><br><br>
<table width="100%" border=0>
<tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="0"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Felsefe............</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="1"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Psikoloji..........</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="2"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Hikaye.............</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="3"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Şiir...................</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="4"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Kitap................</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="5"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Müzik...............</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="6"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Makale.............</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="7"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Benden............</small></font></td></tr> <tr><td width=20 valign=top><input name="ballot[]" type="checkbox" value="8"></td><td><font size="3" color="#FFFFFF" style="font-family: ARIAL,HELVETICA"><small>Egzersiz...........</small></font></td></tr>
</table>
<div align="center"><small><small><A HREF="http://vote.sparklit.com/poll.spark/1003186" style="font-family: ARIAL,HELVETICA; color: #99CCFF; text-decoration: underline">Current Results</A>
</small></div>
<div align="center"><INPUT TYPE="submit" STYLE="width: 100%; margin-top: 2px; font-family: ARIAL,HELVETICA; font-size: 10px" VALUE="Submit Vote" NAME="submit"></div>
</font>
</td>
</tr>
</table>
<div style="margin-top:2" align="center"><A href="http://www.sparklit.com/pc/?ID=1003186"><IMG SRC="http://www.sparklit.com/images/sparklitpowered.gif" WIDTH=113 HEIGHT=24 BORDER=0></A></div>
</form>

<!-- End Sparklit HTML Code -->

Philip M
04-13-2007, 07:10 PM
This should be done server-side, not client side.

In short, you cannot do it in this case.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum