php - form name Order break my design in cakephp -


<?php echo $this->form->create('order', array(                                 'inputdefaults' => array(                                     'label' => false,                                     'div'   => false                                                                       ),                                 'id'=> 'form-validate',                                 'class' => 'form-horizontal',                                 'novalidate'=>'novalidate'                                 )                                 ); ?> 

the above code worked fine few moment ago. set flash message entire page broken. if change form name works fine again. following code works fine:

<?php echo $this->form->create('order1', array(                                 'inputdefaults' => array(                                     'label' => false,                                     'div'   => false                                                                       ),                                 'id'=> 'form-validate',                                 'class' => 'form-horizontal',                                 'novalidate'=>'novalidate'                                 )                                 ); ?> 

even order2, abc means expect order okay. frustrating. may asking basic question. makes me cry. please help. order keyword , restricted in cakephp?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -