jimkaprod Posted February 17, 2014 Share Posted February 17, 2014 Bonjour à tous, j'ai un formulaire d'inscirption avec deux champs supplémentaires : tel fixe et mobile. J'arrive à les rendre olbigatoires : 'phone' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber','size' => 32,'required' => true), 'phone_mobile' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32,'required' => true) J'aimerai plutot laisser le choix de l'un ou lautre, et verifier au moment de la validation. Une idée ? dans : AddressControllerCore ? Merci Jmi Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now