On Jan 23, 3:20 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > Store fields name and type in db, and use $form->inputs( $arrayOfFields ); <snip>
As far as I have seen this, it's not that easy. Similar idea would work with PEAR QuickForm, but cake's validations are tied up with model and input field type creations are tied up with view helpers. So, for now, I'm thinking of writing a dynamic validation behavior and another form helper inheriting core's form helper. Not still sure that it gonna help. -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog:http://rajeshanbiah.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---