Form Fields Show/hide – 10 Minutes

Hi,

I have a shopping cart form that needs the customer to select ONE from two lists who they want to make a donation to (Charities A or Charities B).

Currently both dropdown lists of Charity options are shown by default. What I would like is to have two radio buttons/links that say “Select Charities A OR Select Charities B” shown by default. Then, when the customer selects A or B, the corresponding list of Charities is then shown beneath, but ONLY the selected list.

If the customer selects “A”, then “B” should be set to 0 and vice-versa.

The form html can be hardcoded, and this work should take no more than 10 minutes.

Leave a Reply

Your email address will not be published. Required fields are marked *