Solar_Form::setStatus()

public void Solar_Form::setStatus ( bool $status )

Forcibly sets the overall form validation status.

Parameters

  • (bool) $status: Solar_Form::STATUS_SUCCESS if you want to say the form as a whole is valid, Solar_Form::STATUS_FAILURE if you want to say the form as a whole is is invalid.

Returns

  • (void)

Description

Forcibly sets the overall form validation status.

Does not set individual element status values.



Local