I am new to cake php so please bear with me. I am trying to create a survey for which i can create multiple choice questions. i am running into two issues
1) for multiple choice questions i have a form that takes all the answer choices and saves them as separate entries inside the answers database table. Can someone tell me how to take same input field for multiple entries in a loop? This because i have a varying number of answer choices for every question. The cook book only shows how to it indivudially using 'Modelname.0.fieldname' and Modelname.1.fieldname and so on. I tried replacing the numbers with a loop variable but then the saveall() didnt work? 2) i cant pass parameters from an action inside the surveys controller to an action inside the questions controller. Can someone help me with this? The url indicates that the parameter is being passed, but the receiving function always gets a null. Could someone help me with this. Thank you in advance. 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
