I need to create a bunch of new attributes from my module, and I would like to define custom validation rules for each of the attribute. How can I do it?
edit: Your answers about magento validation in models are Ok – thanks, however I probably didn't emphasize it enough my question is How can I create a new “Input Validation for Store Owner” (this setting is in the attribute configuration panel)
Best Answer
This article may be a good starting point: http://inchoo.net/ecommerce/magento/magento-custom-model-with-custom-validation-rules/