Bruno Silva
Checkboxlist selecting all options
found the problem...
In my CreateBooking I have a
fillForm
:
I did that so the client can fill a form without logging in. Then it would send that data to this resource to automatically fill that form after the client registers.
Adding this line at the end seems to have worked:
$this->form->fill();
but I'm trying to improve this code. It doesn't feel like the right way to do it.
anyway, thanks for the help!7 replies
Create related record inside infolist
ok, I've made an Action like this:
in that
getForm
method, I've added a param to prevent relationship errors by hiding some fields.
The problem was that I didn't want to make different forms for the same thing, so now I have only one form that I can make a few changes if I pass that param7 replies