thanks you, I choose the sfCallbackValidator :) On 14 nov, 12:01, Cece <[EMAIL PROTECTED]> wrote: > Hello, > > Two ways as i see (if the select is a raw, unfiltered list of objects): > > - with sfCallbackValidator if you have an "isIdExists()" like method > somewhere. > or you can write a method if it isn't exists. > - if you use Propel, you can also use sfPropelUniqueValidator to check the id > is exists in your table. > > Regards, > Szabolcs Heilig > [EMAIL PROTECTED] > > On Nov 14, 2007 11:33 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > Hi all, > > How to make sure that the value send by an select_tag is one of its > > options, in an YAML validation file ?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
