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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -