I
Iain Adams
I have some check boxes like so.
<input type='checkbox' name='uid[1]' id='' value='4'>
<input type='checkbox' name='forename[1]' id='' value='John'>
<input type='checkbox' name='surname[1]' id='' value='Smith'>
and
<input type='checkbox' name='uid[2]' id='' value='5'>
<input type='checkbox' name='forename[2]' id='' value='Michael'>
<input type='checkbox' name='surname[2]' id='' value='Jones'>
I also have a selection of radio button, which when clicked are
supposed to trigger certain boxes being ticked. The options are: tick
all, tick first set (ones with [1]), tick second set(ones with [2]) .
They are all on the same form. It seems quite easy to tick all of the
boxes however if i wanted to just tick the ones from the first
selection or the ones from the second it seems a lil harder. Does
anyone have any ideas
<input type='checkbox' name='uid[1]' id='' value='4'>
<input type='checkbox' name='forename[1]' id='' value='John'>
<input type='checkbox' name='surname[1]' id='' value='Smith'>
and
<input type='checkbox' name='uid[2]' id='' value='5'>
<input type='checkbox' name='forename[2]' id='' value='Michael'>
<input type='checkbox' name='surname[2]' id='' value='Jones'>
I also have a selection of radio button, which when clicked are
supposed to trigger certain boxes being ticked. The options are: tick
all, tick first set (ones with [1]), tick second set(ones with [2]) .
They are all on the same form. It seems quite easy to tick all of the
boxes however if i wanted to just tick the ones from the first
selection or the ones from the second it seems a lil harder. Does
anyone have any ideas