Sudheer wrote:
I did not receive a copy of this message from the list. I suspect a problem with my e-mail client. Apologies if you received this message twice.

I have advanced a bit.

I have encountered a problem with my new code.

You can see the code and output here -> http://pastebin.ca/1091642

When I create checkbox form elements in the subform, it generates hidden fields. If I replace them with text fields, I get correct output and the hidden form fields vanish.

I think the problem is with the following line of code:

$role{$roleId} = $roleform->createElement('checkbox', $roleId)
                                ->setLabel($roleName);


Can somebody tell me why this is happening? What am I doing wrong?

Regards,

--

With warm regards,
Sudheer. S
http://binaryvibes.co.in

Reply via email to