Hey guys,
I just had a look at the core files and patched something up this
afternoon... Now I can build multi-record forms as Travis suggested by
using some kind of loop and $form->input("Model.".$id.".field"); works
pretty well, only validation and saving of course still needs to be
handled by m
Luke, I did find what you described but could not get it to work for the
input name, only the input value. I recently posted a blog entry on
multi-record forms, including redisplaying the errors, although it sounds
like you got it sorted, using a similar approach to what I have used in my
blog pos
On Jul 25, 6:27 pm, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Hmm.. Very interesting. I had not seen that before. I might have a
> play later on and see if I can get it to work. I'll let you know how
> I go.
>
> Geoff
> --http://lemoncake.wordpress.com
I've also been interested in seeing what it
sorry I was calling invalidFields wrong way there - think I have fixed
it!
On Aug 8, 12:45 pm, luke BAKING barker <[EMAIL PROTECTED]> wrote:
> Hi Geoff did you have any luck with getting this feature to work?
>
> Can I also thank you for your posts in this group on multiple saves as
> they've be
Hi Geoff did you have any luck with getting this feature to work?
Can I also thank you for your posts in this group on multiple saves as
they've been very helpful.
Coincidentally I am trying to get many RoomsTasks submitted from a
form at once, and I have managed to loop through POSTed data and
Hmm.. Very interesting. I had not seen that before. I might have a
play later on and see if I can get it to work. I'll let you know how
I go.
Geoff
--
http://lemoncake.wordpress.com
On Jul 26, 8:49 am, chewie124 <[EMAIL PROTECTED]> wrote:
> Ahhh... ok. Thanks for the input. I was grepping t
Ahhh... ok. Thanks for the input. I was grepping thru the
helpers.php library in the cake core, and it looks like in the
setFormTag function , if there's a 3rd level branch,ie FormerEmployer.
2.name, the '2' will get parsed and tagged as the 'modelId'. Seems
like though, the propigation hasn't
You will have to create the inputs the old fashioned way, and create
the empyer records as an array that you can loop over when posted
back.
In the controller function use $this->set('formerEmployers', $this-
>FormerEmployer->findAllByApplicantId($applicant_id));
Then in the view, make sure you
Hi All -
I'm have a job-board app that has a Resume model which hasMany
FormerEmployer models (like for employment history). There's plenty
of discussion on how to save the data on the controller side (at
least, that I've been able to find), but my question is, is how do you
build up the form, so