Page 1 of 1

Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 9:13 am
by simonmlewis
Hi

I have a Form. The form has 2-5 sizes which will be placed into radio buttons, but the radio buttons can only be named "size", whereas the fields are size1, size2...and so on.

I need to be able to also pass through up to 5 cart codes, depends on which radio button they click.

Is there some special feature whereby you can hidden other fields in the form, that are assigned to the radio buttons? I think the answer is no - but willing to have my eyes opened.

Simon

Re: Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 1:58 pm
by mikeashfield
JQuery and AJAX.

Re: Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 2:07 pm
by simonmlewis
Very helpful !

Re: Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 2:09 pm
by mikeashfield
HTH :drunk:

Re: Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 2:43 pm
by simonmlewis
Sorry, it won't.
I need to do what I said - hidden fields with radio buttons.

Re: Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 4:25 pm
by mikeashfield
What's wrong with searching Google before posting? 3rd hit in Google: http://www.tek-tips.com/faqs.cfm?fid=4585

Re: Radio Buttons: can you include other hidden fields?

Posted: Fri Nov 04, 2011 4:29 pm
by simonmlewis
No you really don't get it.

I don't want to show or hide fields - I want to pass fields thru with a radio button that is assigned to that radio button option.

normally this is impossible.... or is it? That's the question.