The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> DUAL Login within same form ?
kaal0022
post Dec 4 2007, 06:07 AM
Post #1





Group: Members
Posts: 1
Joined: 4-December 07
Member No.: 4,470



hi

<form name="theform" method="post" action="index.asp">
<p>Username: <input name="username" size="18" type="text"><br />
Password: <input name="password" size="18" type="password"><br />
Type 1 Login page<input name="logintype" value="1" type="radio">Type 2 Login Page<input name="logintype" value="2" type="radio"><br />
<input name="Submit" value="Submit" type="submit">
</form>

this is a form
i needed help this way

when i select the Value=1 radio button it should post in login1.asp page
and when value=2 radio button is selected. it should post in login2.asp page

Plz help
Thankx

Regards,
ARVIND
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Dec 4 2007, 11:47 AM
Post #2


WDG Member
********

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



Please see the FAQ entry Can I have two or more actions in the same form?
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: 19th April 2024 - 04:27 AM