I have a form with 5 item entries. For each of these entries I have a dynamically created select input. For instance if a user picks Computers as the Category then the subcategory select field pops up for computers.
My problem is that I need to figure out a way to extract all 5 values once the page has been posted.
Unfortunately because of the javascript that I am using I cannot just name the field an emtpy array.. ie. category[], subcategory[].
Is there a way to get each value for category and subcategory when the page is posted without assigning those values to an empty array?
I have tried to use HTTP_POST_VARS but it didnt work.
Cheers,
Joe