Thanks nhathoang.
Your solution of defining fields with different variable names &
reorganising the data in the controller is a fix to the problem. It's
not the cleanest solution but it works.
On Mar 10, 7:56 pm, nhathoang nhathoang
wrote:
> hi jsmale, all your requirement probable release , I
hi jsmale, all your requirement probable release , I have a example to
offer you ,please download my attached file , If you don't understand , you
can contact with me through my yahoomail nhathoangvn2...@yahoo.com, we will
trade experience together
2009/3/10 mscdex
>
> On Mar 9, 11:55 pm, jsmal
On Mar 9, 11:55 pm, jsmale wrote:
> Have I done something incorrectly?
It's probably because the form fields are named exactly the same for
both forms.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group
They are all wrapped in their own form tags which are automagically
generated using the form helper.
The two main forms are created with this code:
create('User');?>
input('**field names**', array()); ?>
end('Next', array());?>
create('User', array('action'=>'login'));?>
input('**field names**'
Are they all wrapped in their own form tags? Try that first.
--~--~-~--~~~---~--~~
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 gro
So here's the scenario:
- 3 forms on 1 page
- All submit to different functions (login, add, etc)
- Errors messages display in all forms when one is submitted
Is it possible to restrict error messages being displayed for only the
form which has been submitted?
--~--~-~--~~---