Hi Dave,
I observe that you are using capitalized field names! It may not help
you, but I suggest you try to use the naming convention
Model.fieldname - so that Certification.Certification is named as
Certification.certification!
Enjoy,
John
On Jun 11, 8:20 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I have a form and for some reason the names are all wacked. (Using Wizard
> Component) view the rendered HTML and see
> "name="data[Certification][Certification][Certification][]" " but its not
> for Programs..they show up fine. Code for the form is below and HTML below
> that.
>
> Ideas why this is happening?
>
> FORM VIEW:
> create('Investor',
> array('id'=>'NewListing','url'=>$this->here));?>
> echo
> $form->input('Certification.Certification',array('multiple'=>'checkbox',
> 'label'=>false));
> ?>
> echo $form->input('Program.Program',array('multiple'=>'checkbox',
> 'label'=>false));
> ?>
>
> submit('Continue',
> array('div'=>false));?> submit('Cancel',
> array('name'=>'Cancel','div'=>false));?>
> end();?>
>
> The form gets rendered like this:
>
>
>
>
>
>
>
>
> id="ProgramProgram33" />
> RSP
>
>
> id="ProgramProgram1" />
> ACCTD
>
>
> id="ProgramProgram2" />
> NIARB
>
>
>
> name="data[Certification][Certification][Certification]" value="" />
>
> name="data[Certification][Certification][Certification][]" value="13"
> id="CertificationCertification13" />
> State
>
>
> name="data[Certification][Certification][Certification][]" value="1"
> id="CertificationCertification1" />
> Federal
>
>
> name="data[Certification][Certification][Certification][]" value="9"
> id="CertificationCertification9" />
> National
>
>
>
>
>
>
>
> Dave
--~--~-~--~~~---~--~~
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 from this group, send email to
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---