Your form has no name.

On Aug 5, 3:15 pm, cakephp_rocks <[email protected]> wrote:
> hey i created a form in a element and add the to my home page for some
> reason when  i submit it it say Invalid form submission and redirect
> me to this  '/users/register/' i give to the form any idea
> here is what i did
>
> <?php
> echo $form->create(null, array('url' => '/users/register/' . $this-
>
> >params['url']['url']));
>
> $out = $form->input('username', array('label' => __('Email *',
> true)));
> $out .= $form->input('email',array('label' => __('confirm Email*',
> true)));
> $firstName = $form->input('first_name', array('label' => __('First
> Name *', true)), array('fieldset' => false));
> echo sprintf($html->tags['fieldset'], '', sprintf($html->tags
> ['legend'], __('Sign Up', true)) . $out);
>
> echo $form->end('submit');
> ?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to