Lets say i have a form with textfields, a checkbox and a button. The button is disabled unless i check the checkbox. And lets say again, someone used Inspect Element to remove the disabled attribute. They can only proceed to submit the form only if the checkbox is checked. What i mean is if they used inspect element, the checkbox will display something/ a message like "Please tick the checkbox before proceeding"
i can use console to disable validation at all, and submit form unvalidated. for this use-case you should preform server-side validation too. if it's Yii2, google Yii2 required validator. and please, use
@yii2ru chat. this chat is about Yii3