Ok, I think the problem might be in the actions I think you should
realy move the embedForm function to the configure method of the form
class - the form class will be more compact.
And the thing that the rendering of the form is ok, and after the
clicking on the save button the problem
Hi Tom,
I have eventually sorted the problem by simply adding the fields to
the table, thus removing the need for embedded field, the abstraction
of the contact details wasn't actually necessary when I reviewed it
BUT
I think the issue was to do with where the FK was.
With sfGuardUSerProfile the
The problem is, that you have to connect the object of the embeded
form with the object of the master form somehow.
my embed form usage ...
}this code is in the master form class in the configure method]
// Embed paymentinfo form
$this-embedForm('paymentinfo', new
HI Tom,
Thanks for sticking with me on this, much appreciated.
I think I may have tried that before because when I do, 2 familar
things happen.
1 Saem problem with the id being 1.
2 is that when I try to view the edit action I get the following form
rendering error which dissappears when I
Show some code of how you embed the form.
On 21 kvě, 16:26, Tofuwarrior p...@clearintent.co.uk wrote:
Hi,
Anyone give me any pointers? I'm stumped and not really sure where to
look. Would really appreciate any help anyone could give, deadline is
looming :-(
I have an embedded form that
Hi Tom,
Thanks for replying. My problem has moved on.
I can render the forms fine now but when I save in new mode the system
saves the parent(storyteller) and the child (contact_details) objects
but doesn't put the right FK reference in the parent so all of the
parent objects I save have a
Hi,
UPDATE
The same problem happens with edit/update not just new/create.
Both objects save but FK becomes 1 whatever it was before.
P
Anyone?
On May 24, 1:47 pm, Tofuwarrior p...@clearintent.co.uk wrote:
Hi Tom,
Thanks for replying. My problem has moved on.
I can render the forms