Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2007
    Posts
    60
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Redirecting a page after submitting a form

    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 -->

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,919
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    This should be done server-side, not client side.

    In short, you cannot do it in this case.
    Last edited by Philip M; 04-13-2007 at 06:22 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •