Hi, If I get chance this weekend I'll try and get an example for you. Regards
Alistair 2008/6/26 Grégoire <[EMAIL PROTECTED]>: > > Thanks! > Hum... okay... > I've taken a look at the wiki page of your plugin, but it is not > explained how to do that... And it's in the TODOs "provide examples to > extend validators for javascript callback options" :) > So how can I do that? > > On 26 juin, 12:03, "Alistair Stead" <[EMAIL PROTECTED]> > wrote: > > Hi Gregoire, > > You can achieve this with sfPokaYoke but you will need to port your > > validator to JavaScript and use an AJAX Callback. > > > > If you use the same naming as you PHP validator sfPokaYoke will simply > use > > your validation method to return a boolean for the status of the form > input. > > > > Regards > > > > Alistair > > > > 2008/6/26 Grégoire <[EMAIL PROTECTED]>: > > > > > > > > > > > > > Hi, > > > > > I'm using symfony 1.0. I'd like to validate my create user form in > > > client side. I've found plugins on the wiki, but they only work with > > > yaml validation files. But I have custom validators, for example: I > > > check that the email isn't already used by a _validated_ user, that > > > kind of stuff... > > > > > I can add a specific action to check my values using ajax, but it > > > duplicates the validation code... :( > > > Is there a way to do that thing cleanly? > > > > > Thanks! > > > > -- > > Alistair Stead > > Senior Interactive Developer > > > > Mobile: +44 (0) 7788 107 333 > > Email: [EMAIL PROTECTED] > > WWW: designdisclosure.com > > > > The information contained in this email is confidential and may contain > > proprietary information. It is meant solely for the intended > > recipient/recipients. Access to this email by anyone else is > unauthorised. > > If you are not the intended recipient, any disclosure, copying, > distribution > > or any action taken or omitted in reliance on this, is prohibited and may > be > > unlawful. Please consider the environment before printing this e-mail. > > > -- Alistair Stead Senior Interactive Developer Mobile: +44 (0) 7788 107 333 Email: [EMAIL PROTECTED] WWW: designdisclosure.com The information contained in this email is confidential and may contain proprietary information. It is meant solely for the intended recipient/recipients. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Please consider the environment before printing this e-mail. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
