Take a look at this,  it may help:

http://bakery.cakephp.org/articles/view/using-equalto-validation-to-compare-two-form-fields

On Aug 24, 8:48 pm, cem <[EMAIL PROTECTED]> wrote:
> Hi ;
>
>  I want to code a custom validation function for my model which
> compares two fields in the database table . One is budgetMin and the
> other is BudgetMax . If the budget min < budgetMax return true . But
> how can I pass the budget variables in the fgunction did anyone do
> that before ?
--~--~---------~--~----~------------~-------~--~----~
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