What would be the easiest way to add say 10 input fields to a form that hasMany? I am allowing a user to add additional info to a profile and want to have 10 empty fields where they can type in whatever they want. I can manually make a form with 10 input fields but would like to know a simplified approach. Working with the idea of a foreach and build the fields but cant seem to get the idea of how to loop thru when there is nothing to loop ): $count++ if $count > 10 type idea Ideas to point me in the right direction would be great. Thanks Dave
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
