I want to create a special spam validator can test user tekst inputs. In the case the validator can't make up if the message is ham/spam, it will have to ask the user for extra input (captcha), and by that modify the project form.
So the validate method can return ham/spam/notsure : In case of spam, the validator will fail resulting in an error in case of ham , the validator will pass in case of "notsure", i want to redisplay the form and ask the user for extra input Can anyone tell me how i should approach this ? I know howto implement the validator, but i don't know how the validator can access the form object. As i want to reuse this validator throughout the entire project i need a solid solution without having to add custom code in each form (configure/setup methods). Should i override sfForm for this, that would also mean that sfPropelForm will never be able to use this "custom" form behaviour ? Any thoughts ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---