Also, does anyone know how I would reset this->data['Newproduct']
without actually saving the data. On every other edit page I have
done, I am never writing the data to a session, just updating a
database but it has always worked fine. I have to be missing
something here.
Thanks
On Apr 30, 9:3
Thanks Sliv, I glanced at it but I'll take a more in depth look when i
get to work tomorrow.
I ended up 'solving' the issue by setting each individual field value
on the actual edit form page using the session data. This resulted in
me not needing to set $this->data['Newproduct'] in the controll
Have a look at this approach:
http://bakery.cakephp.org/leafs/view/32
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe fr
One more try and fail: http://bin.cakephp.org/view/296703677
This populates the form, goes to the correct page after 'edit' and
writes nothing to the session. I think this is more inline with your
suggestion, Sliv. I changed the newproduct edit form fields to
newproductedit.
I'm at my ends wit
I also tried this:
http://bin.cakephp.org/view/1428722274
Which does not write the new information. And the edit form is the
exact same as the create form with the exception of the "action = ''"
and instead of $form->end('submit'), I use $form->submit('Submit
Edits', array('div' => false, 'name'
This: http://bin.cakephp.org/view/1061326765 redirects to confirm page
but with exact same information stored in session
On Apr 30, 7:47 am, Sliv <[EMAIL PROTECTED]> wrote:
> It looks to me like you're just reading the value from the session
> every time without checking the submitted data first
In my haste to seek help, I typed the function incorrectly (I was
recalling from memory, notice the 'product' are all 'newproduct')
This:
http://bin.cakephp.org/view/980003581
causes a validation error to be thrown (I only have one field set up
for validation right now)
I thought this would be
It looks to me like you're just reading the value from the session
every time without checking the submitted data first
Try something along the lines of:
http://bin.cakephp.org/view/1454909160
--~--~-~--~~~---~--~~
You received this message because you are subscri
I have been driving myself nuts with this, any help is very much
appreciated!
I have a two page form with a review page. Each page has a submit
button that saves the data to a session and moves the user to the next
page. The review page gives the opportunity to edit the information
collected on