Show Error Summary for Server-side input validations in Yii2 Best Practices, yii2 / By Prasad Diwan We can use Html::errorSummary() to handle and display the form validation errors.