by ridnet
4 replies
  • WEB DESIGN
  • |
please i want someone to help me on my website, i am designing my website with microsoft frontpage and after i have design the index and the second page. i put form on the index page and i dont know how i can link the index page to the second page after clicking the submit button on the form.
i will be very glad if i can see help on this

Thanx
  • Profile picture of the author Manfred Ekblad
    I haven't used Frontpage for 10 years or so, but if you edit the form you should see an attribute named "action". That is where you set which page the form should go to when the user submits the form. So, it's not on the button, it's on the form.

    Example:

    <form action="secondpage.php">
    {{ DiscussionBoard.errors[2159873].message }}
  • Profile picture of the author Aaron Sustar
    Just another little note from me - I recommend that you don't send a user from your form directly to the second page and process everything there.

    I suggest that you send your user to some process.php script that will process all data, and then send your user to the next page with header("Location: secondpage.php"); at the end of process.php script.

    This way you will avoid a number of situations that can destroy the user-experience on your website.
    {{ DiscussionBoard.errors[2162398].message }}
  • Profile picture of the author ridnet
    Thank you so much for the reply,@ Aron please can you recommend any processing data i can use that is reliable.
    {{ DiscussionBoard.errors[2163108].message }}
  • Profile picture of the author infibook
    i dont use front page but if you want to link your second page, to put it in a code. is very simple that you just place your second page link location to the target of your button or what ever object it is.

    <a href="secondpage.html">go to second page</a>

    thanks
    {{ DiscussionBoard.errors[2187951].message }}

Trending Topics