public function validateRequired()
    {
        $this->validator_attributes[] = 'data-parsley-required';

        $this->field_required = true;

        $this->validator_checks['required'] = true;

        return $this;
    }
public function validateRequired()
    {
        $this->validator_attributes[] = 'data-parsley-required';

        $this->field_required = true;

        $this->validator_checks['required'] = true;

        return $this;
    }
public function validateRequired ( ) { $ this -> validator_attributes [ ] = 'data-parsley-required' ; $ this -> field_required = true ; $ this -> validator_checks [ 'required' ] = true ; return $ this ; }
Validate that a required field has been filled with a non blank value
Set field as required to fill
@return $this
Validate that a required field has been filled with a non blank value Set field as required to fill