WWW
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs WWW

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old December 4th, 2007, 05:03 AM
kaal0022 kaal0022 is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 1 kaal0022 User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 8 m 46 sec
Reputation Power: 0
Help plz DUAL Login within same form

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

Regards,
ARVIND

Reply With Quote
  #2  
Old July 22nd, 2008, 01:53 AM
b.sanjay b.sanjay is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 1 b.sanjay User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 4 m 42 sec
Reputation Power: 0
Using Javascript can help U

Quote:
Originally Posted by kaal0022
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

Regards,
ARVIND

[script]
if check radio1 is selected then
form.action=login1.xxx
else if check radio2 is selected then
form.action-login2.xxx
[/script]

Reply With Quote
Reply

Viewing: Web Development Archives FAQs WWW > Help plz DUAL Login within same form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT