Here's what I want to do:
I have a big PHP array which holds various options.
On an HTML page I have a form with two radio buttons for each option in the above array. (Yes/No) At the top of the page, I have a selection of buttons representing ['typeX'] , each with an "onClick" property.
$ARRAY['type1']['someoption1'] = 1;
$ARRAY['type1']['someoption2'] = 0;
$ARRAY['type1']['someoption3'] = 0;
$ARRAY['type1']['someoption4'] = 1;
$ARRAY['type2']['someoption1'] = 0;
$ARRAY['type2']['someoption2'] = 1;
$ARRAY['type2']['someoption3'] = 0;
$ARRAY['type2']['someoption4'] = 1;
What I want to happen is that when you click on a button, the options for that type will appear in the form, using the settings from the PHP array.
Thanks in advance for any help. :)