HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 26th, 2003, 06:17 AM
Shivamala Tili Shivamala Tili is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Bangalore
Posts: 2 Shivamala Tili User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile radio button validation

Hi,
This is my 3rd time i asking the question
But no one is responding it
that is
there r 3 radio buttons
each displaying seperate form
user should use only one button at a time
so if one button is in true state the remaing 3 should b in false state so if he select the second one the first & third should be in false state please reply soon

Reply With Quote
  #2  
Old December 26th, 2003, 03:27 PM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
so what is the actual question? do you want to know how to make only one radio button selectable or do you want to know to detect which radio button is selected (using JavaScript)?

Reply With Quote
  #3  
Old January 21st, 2004, 03:04 AM
ILOVEACCESS ILOVEACCESS is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: SAUDI ARABIA
Posts: 9 ILOVEACCESS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
OK, DO THE FOLLOWING

Let say that you have three PUSHB, and name them as :

The first one is CMD1 CAPTION = ADD
CMD2 CAPTION = UPDATE
CMD3 CAPTION = DELETE

''''''' ON CLICK EVENT'''''''''''''''''
IF FORMS![FORM1]!CMD1 = TRUE THEN
FORMS![FORM1]!CMD2 = FALSE
FORMS![FORM1]!CMD3 = FALSE

CODE........
CODE........
BLOCK.........
FORMS![FORM1]!CMD1.SETFOCUS
FORMS![FORM1]!CMD2 = TRUE
FORMS![FORM1]!CMD3 = TRUE
ENDIF

Reply With Quote
  #4  
Old January 21st, 2004, 11:04 AM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
I see what you're asking. To group radiobuttons you just name them the same thing. I have provided a sample of two different button groups:
Code:
<form name="formName" method="post" action="">
<input type="radio" name="samename" value="radio1"><br>
<input type="radio" name="samename" value="radio2"><br>
<input type="radio" name="samename" value="radio3"><br><br>
...but these are part of another group<br>
<input type="radio" name="differentname" value="radio4"><br>
<input type="radio" name="differentname" value="radio5"><br>
</form>
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.


Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > radio button validation


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 On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | 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 6 hosted by Hostway
Stay green...Green IT