Thursday, June 27, 2013

Generating multiple 'requests' based on form selections

I have a CakePHP form that lets a user select a variety of parameters. What I want to do is let them select multiple choices on a few different parameters, and then turn these into multiple submissions. My CakePHP model is called 'Requests' so ideally what I want to do is have the user be able to create multiple requests through one form submission - essentially a 'cross-product' of the options they choose.

I don't want/need anyone to write code for me but if someone could help me think this problem through and give me a few pointers in the right direction, I'd greatly appreciate it!

Disclaimer: I'm using CakePHP 1.1, and am unable to upgrade - this site runs on the same machine as many others inside my company and there was lots of hackery done and lots of shared files.  Disclaimer #2, I am an intern and brand new to CakePHP ;-)

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: