Hello,
I'm have a form which includes a dynamic number of items. It has a check box which holds the row ID number, and a hidden field (Type) to specify what type of row it is these are stored as arrays.
The data displayed is from 2 different tables, that's what the Type field is used for.
Because when only some items are checked, the checkbox array has a limited number of values, but the hidden field array always has the maximum number of values.
EXAMPLE:
Let's say there are 4 items, and all 4 are checked. It would return something like this:
ID Type
44 2
98 1
32 1
81 2
If only the first and last items are checked, then it returns this:
ID Type
44 2
81 1
Please help.