Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

submit and redirect

Options
  • 16-08-2002 4:19pm
    #1
    Closed Accounts Posts: 34


    Hi all, Working with a form @ the moment and having a little difficulty. When I press the submit button I want to direct to another page but I have no idea of the code nor can I find any.
    a little help please?


Comments

  • Registered Users Posts: 3,886 ✭✭✭cgarvey


    Do you want the FORM params to be passed to the server side script or just literally take the user to another page as though they clicked on a A HREF?

    If its the A HREF option, then you can try...

    <form method="get" action="otherpage.html">
    Text
    <input type="submit">
    </form>

    .. or ..

    <form method="get">
    Text
    <input type="button" onclick="javascript:document.location='newpage.html';">
    </form>


  • Closed Accounts Posts: 25 CarrigHOST


    don't forget the oter page is going to have to process the data from the form

    Sean


Advertisement