The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> About html tag
happy123
post Feb 27 2009, 05:09 PM
Post #1





Group: Members
Posts: 3
Joined: 27-February 09
Member No.: 7,916



Pls Help

what html tag can I use to send a user to a correct page

<input type="submit" name="Submit" value="Return to page">
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 27 2009, 05:56 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,316
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How do I redirect someone to another page? If that doesn't answer your question, then please explain in more detail what you're trying to do.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
happy123
post Feb 27 2009, 09:18 PM
Post #3





Group: Members
Posts: 3
Joined: 27-February 09
Member No.: 7,916



There are 2 input submit buttons, which are

<input type="submit" name="Submit" value="Return To Login">

<input type="submit" name="Submit2" value="Purchase Products">

Both input will go to different page.

The question is "Use HTML tags that will send the customer to the correct page"

I have no idea what tag should I use to do it

I can use response.redirect to do it...but I dunno in html

Can anyone help me with this?..thx
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 28 2009, 07:54 AM
Post #4


.
********

Group: WDG Moderators
Posts: 8,245
Joined: 10-August 06
Member No.: 7



I merged two topics into one.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 28 2009, 03:26 PM
Post #5


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,416
Joined: 9-August 06
Member No.: 6



You must make the script that handles the form send different pages to the browser depending on which button is clicked. See http://htmlhelp.com/faq/html/forms.html#two-submit .
Is there a reason to use a form for this though, i.e. is there real form data submitted? Otherwise links would be simpler.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 11th November 2019 - 10:46 PM