Could some body help with this?
For symfony 2.0 is no normal documention yet (because it is not stable)
I mean in PHP using symfony
class SignupForm extends Form {
public $email;
public function configure() {
$this->add(new TextField('email', array('required' => true)));
}
}
In this code I need add some options, to validate a email field