Log in

View Full Version : XML - Getting, testing and using values of a checkbox group



gwmbox
08-25-2011, 03:08 AM
Hi all

I am trying to work out how I can get and check results from a checkbox group using xml.

If I have a checkbox group called ABC with values A, B and C how do I check for each checked value individually with xml?

As in I want to test if in the checkbox group ABC if A is checked, then to see if B is checked and then to see if C is checked, all individually so I can then parse a result based on each value if they have been selected.

The actual outcome I am looking for goes something like this. First I will want to check to see if any of the items in the checkbox group have been checked, if so then show some text that I will define, then I want to check each checkbox individually and if then show an image for each value that has been checked, so if only A and C are checked then I will have my text shown and then an image for A and C.

I hope I make sense to someone

Thanks

GW