I have two check boxes, 'a1' and 'p1'. I simply need a script that will either have nothing checked or only 'a1' or only 'p1' checked.

I was using(vice versa for the other checkbox):

this.getField("p1").checkThisBox(0, false);

and this worked fine, on the PC, however when using the IPad, this script would not function.