applyParsley() public method

Sets the html attributes required for frontend validation Subclasses should call parent::applyParsley
public applyParsley ( ) : void
return void
 public function applyParsley()
 {
     parent::applyParsley();
     $this->field->setAttribute('data-parsley-dateiso', 'true');
 }