views:

58

answers:

0

This is the data being posted to my Zend Form for validation:

Array ( [cross_promotion_insert_categories] => Array

   (
       [37908] => Antiques > Antiquities > The Americas
       [162922] => Antiques > Antiquities > Byzantine
       [162923] => Antiques > Antiquities > Celtic
   )

Is it possible to create a form element named 'cross_promotion_insert_categories' and add a custom validator to validate the array of values? Sub-forms wont work because you can't have a number for the form element name...