Hello,
I want to know how I can make a validator for a key which must be unique.
Hello,
I want to know how I can make a validator for a key which must be unique.
sfValidatorDoctrineUnique or sfValidatorPropelUnique is probably what you're looking for even though you didn't describe it in very much detail:
sfValidatorDoctrineUnique: http://www.symfony-project.org/forms/1_4/en/B-Validators#chapter_b_sub_sfvalidatordoctrineunique
sfValidatorPropelUnique: http://www.symfony-project.org/forms/1_4/en/B-Validators#chapter_b_sub_sfvalidatorpropelunique