If you want view to be rendered with some validation rules, you must
keep them and do not reset before render.

On Oct 12, 7:57 pm, emmexx <[email protected]> wrote:
> On 11 Ott, 06:58, "Dr. Loboto" <[email protected]> wrote:
>
> > ALWAYS do such things just before actual save/validate.
>
> ok, thank you.
>
> > And provide
> > all relevant code if you want real help.
>
> I thought I did it... :-(
>
> Another problem I found out using this type of validation is that the
> "required field" tagging is lost.
> Is there a way to rerender the view after changing the validate
> fields?
> I mean, I select a value from a select box and, depending on the
> value, other fields become required or not required. Is there a way to
> reload the view without losing the values already entered by the user?
> Or cakephp is of no help here and I should code some prototype
> function to add/remove the required class from the fields?
>
> Thank you
>    maxx
--~--~---------~--~----~------------~-------~--~----~
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