Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
radio button option with text box
Old 03-20-2006, 09:38 AM radio button option with text box
Novice Talker

Posts: 5
Trades: 0
I am trying to let the user choose one of the 2 option to type a citeria that they want to search on. I manage to get the radio button working but my text box isnt because I can type on both of it at one time. I only want one of the box to be type at one time. This is my code.

<input type="radio" name="citeria" value="name">
Please enter the name of the member
<input type="text" name="name" size="30"><p>

<input type="radio" name="citeria" value="score">
Please enter the score of the member
<input type="text" name="score" size="30"><p>
ichliebedich is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-20-2006, 06:30 PM Re: radio button option with text box
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Need more info ichiedich

What is parsing the form?

A better approach may be to use an if statement and a drop down- a jump menu. If they select Name or Score the link comes back to this same page with a query string that lets the If statement know whether to load the Name Input Box or the Score Input Box. This way they only have the one box to type in, problem solved..

Hope this makes sense.



ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 03-20-2006, 08:05 PM Re: radio button option with text box
amygdela's Avatar
Super Talker

Posts: 111
Trades: 0
@ChipJohns: There's an error in your sig... It states "Deveopment"...

@ichliebedich: I think I found a solution for you!

http://www.irt.org/script/91.htm
__________________

Please login or register to view this content. Registration is FREE
amygdela is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to radio button option with text box
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21788 seconds with 12 queries