Options buttons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two options at the beginning of a form: As an example: either Red cars or Blue cars. How do I get different followup options to show up on the same page depending on the type of car I choose?
For red cars it's either a $1000 option or $2000 option OR if they choose a blue car it's only $500 and the other options cannot be selected

Thanks
 
Hi Mark,
you can do something like this
Blue
<input type="radio"
onclick="if(document.getElementById)document.getElementById('f').style.displ
ay='none';">
Red
<input type="radio"
onclick="if(document.getElementById)document.getElementById('f').style.displ
ay='block';">
<div id="f">
....your form fields in here
</div>

This will work on anything except Netscape 4 - this browser will always show
the form fields as visible

Jon
Microsoft MVP - FP
 
Thanks Jon. However I am a BIG beginner..and code is not my thing. Is there an easier was of explaining

thanks
 
Hi,
you will have to get into the code to do this -
In design view put your 2 option buttons on your page then add the form
fields you want to show/hide. Then flip to html view and modify the code as
I showed you

This can't be done entirely in design view

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access Remove rows based on multiple fields 2
Roof Box Recommendations 11
Excel Excel due and overdue date colours 2
Newbie! 5
Windows 7 Internet Links 13
lookups with multiple lookup values 4
Hyperlink Variable From One Line Text Box 4
Connect different worksheets 2

Back
Top