|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Using Javascript can help U
Quote:
[script] if check radio1 is selected then form.action=login1.xxx else if check radio2 is selected then form.action-login2.xxx [/script] |
![]() |
| Viewing: Web Development Archives > FAQs > WWW > Help plz DUAL Login within same form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|