Jump to content

Storing 2 Values w/1Radio Button


RyanHockey38

Recommended Posts

Ok i am creating this application for a friend who has a computer company that needs a form for customization of a pc computers. I have everything made but my main problem is figuring out how to have 2 values for my form.

 

Iam using radio buttons, exampe:

 

<input type="radio" value="225.67" name="os">Microsoft Windows Vista Ultimate ($255.67)

 

I need to be able to store the part name and actual value of the part for future reference from that radio button. But how do I store 2 values with radio button.

 

Cause I will need to be able to present a summmary and tell them like this:

 

Operating System: Microsoft Windows Vista Ultimate $255.67

instead of this:

Operating System: $255.67

 

So how do I this...

Link to comment
Share on other sites

what do you mean

 

like have to radio buttons or what

 

i want it to have the functionallity like dell has where you choose the parts by radio button but not that fancy and stuff

 

can you give me example code on how you do a 2 item option list cause i'm not really that sure of what you're talking about.

 

this problem really easy and i'm making it harder for myself, ya i know but i do not understand it.

Link to comment
Share on other sites

RyanHockey38

Irregular

 

Online Online

 

Posts: 3

 

 

 

View Profile Online

 

Re: (No subject)

« Sent to: Q695 on: Today at 07:02:28 PM »

Reply with quoteQuote ReplyReply Remove this messageRemove

dude what is your problem...

 

My problem is you mailing me, not asking on the post.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.