Bit of a strange one this... Part of the design for an app I'm currently working on is that we need to add a form designed to create lots of different questionnaires - we can't really have a model for each questionnaire, as there will be many hundreds, and they'll all have different questions, possible answers etc. So an EAV model (http://en.wikipedia.org/wiki/Entity-Attribute-Value_model) looks best for this particular requirement.
In essence, what I'm creating is a form designer similar to ExpressionEngine custom fields here : http://expressionengine.com/docs/cp/admin/weblog_administration/custom_fields_edit.html, the difference being that I'm going to be adding a few extra fields for validation. So, my question is : how can I get this method to work with the Symfony forms and validators? Ideally, I don't want any manual intervention once this is set up. With the new forms, it looks like it could be quite difficult, because a questionnaire doesn't relate directly to a model (and even if it did, autoloading all of those objects would kill any server). However, I'm wondering if this would be far easier by enabling COMPAT_10 and dynamically creating a validator.yml each time a new questionnaire is created? Anybody have experience of doing similar before with Symfony? or have any clever ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
