public function addRequiredField($fieldName, $message = null)
    {
        return $this->setRule($fieldName, RequiredRule::create($message));
    }
public function addRequiredField($fieldName, $message = null)
    {
        return $this->setRule($fieldName, RequiredRule::create($message));
    }
public function addRequiredField ( $ fieldName , $ message = null ) { return $ this -> setRule ( $ fieldName , RequiredRule :: create ( $ message ) ) ; }
Adds a required rule for the form field with the specified name.

@param string $fieldName
@param string $message

@return $this
Adds a required rule for the form field with the specified name .