There is the usual model for the feedback form.
Fields: name, phone, email, body
Is it possible to make a check of the fields by the condition: The phone number OR the mail field must be filled.
Those. one of them is required and correct. By means of Yii2 itself without its js.
As I understand it - the scripts are a bit different. rules () also can't figure out how to apply for my case
Thank!