Hello everyone, I have a link table: CommandeOperationTechniqueSupplement: columns: cot_id: { type: integer , notnull: true} ots_id: { type: integer , notnull: true} relations: CommandeOperationTechnique: { local: cot_id, onDelete: CASCADE } OperationTechniqueSupplement: { local: ots_id }
and i would like to create a form with a checkbox, to create or not the line beetwen the 2 others tables: so i thought that it was a good idea to use sfValidatorCallback: when the validator action will be there, i could create or not the line $this->validatorSchema['lien'] = new sfValidatorCallback(array( 'callback' => array($this, 'MonValidator') )); function MonValidator($validator, $value) { die( "MonValidator=".$value); } but i never go into MonValidator (the die would stop everything) is there a better way, or why does this doesn't works ? thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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