Current location: Hot Scripts Forums » General Web Coding » JavaScript » Radio Button selection

Radio Button selection

Reply
  #1 (permalink)  
Old 08-31-03, 12:25 PM
TheLaughingBandit TheLaughingBandit is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Radio Button selection

i have used asp to produce six variables
Set1
Set2
Set3
Set4
Set5
Set6

now i want to put those into a datebase in 6 different plases
using radio button forms. Here is my problem, i dont want more than one radio button chose per form (easy already done in the code below) but i also dont want a variable (se1, set2, etc) chosen in more than one form. Then i want to submit them all at once with one button.

<form method="POST" name= "a" action="insert.asp">
<input type="radio" name="a" value="<%=set1%>">Set 1
<input type="radio" name="a" value="<%=set2%>">Set 2
<input type="radio" name="a" value="<%=set3%>">Set 3
<input type="radio" name="a" value="<%=set4%>">Set 4
<input type="radio" name="a" value="<%=set5%>">Set 5
<input type="radio" name="a" value="<%=set6%>">Set 6
</form>
<form method="POST" name= "b" action="insert.asp">
<input type="radio" name="b" value="<%=set1%>">Set 1
<input type="radio" name="b" value="<%=set2%>">Set 2
<input type="radio" name="b" value="<%=set3%>">Set 3
<input type="radio" name="b" value="<%=set4%>">Set 4
<input type="radio" name="b" value="<%=set5%>">Set 5
<input type="radio" name="b" value="<%=set6%>">Set 6
</form>
<form method="POST" name= "c" action="insert.asp">
<input type="radio" name="c" value="<%=set1%>">Set 1
<input type="radio" name="c" value="<%=set2%>">Set 2
<input type="radio" name="c" value="<%=set3%>">Set 3
<input type="radio" name="c" value="<%=set4%>">Set 4
<input type="radio" name="c" value="<%=set5%>">Set 5
<input type="radio" name="c" value="<%=set6%>">Set 6
</form>
<form method="POST" name= "d" action="insert.asp">
<input type="radio" name="d" value="<%=set1%>">Set 1
<input type="radio" name="d" value="<%=set2%>">Set 2
<input type="radio" name="d" value="<%=set3%>">Set 3
<input type="radio" name="d" value="<%=set4%>">Set 4
<input type="radio" name="d" value="<%=set5%>">Set 5
<input type="radio" name="d" value="<%=set6%>">Set 6
</form>
<form method="POST" name= "e" action="insert.asp">
<input type="radio" name="e" value="<%=set1%>">Set 1
<input type="radio" name="e" value="<%=set2%>">Set 2
<input type="radio" name="e" value="<%=set3%>">Set 3
<input type="radio" name="e" value="<%=set4%>">Set 4
<input type="radio" name="e" value="<%=set5%>">Set 5
<input type="radio" name="e" value="<%=set6%>">Set 6
</form>
<form method="POST" name= "f" action="insert.asp">
<input type="radio" name="f" value="<%=set1%>">Set 1
<input type="radio" name="f" value="<%=set2%>">Set 2
<input type="radio" name="f" value="<%=set3%>">Set 3
<input type="radio" name="f" value="<%=set4%>">Set 4
<input type="radio" name="f" value="<%=set5%>">Set 5
<input type="radio" name="f" value="<%=set6%>">Set 6
</form>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable browser's back button after logout shaky ASP 7 08-18-06 07:37 AM
image submit button problems Pepe PHP 10 12-22-03 08:15 PM
radio button selection TheLaughingBandit ASP 3 08-31-03 06:22 PM
Help with radio buttons and uploading Arctic ASP 3 08-17-03 09:49 AM
Looking for a radio station scripts for Linux - apache server (PHP.prefrd). Dudez Script Requests 1 08-05-03 10:34 AM


All times are GMT -5. The time now is 07:13 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.