title: How to add required field validation to custmizable field in YII2 (Advanced Template)?
body: <p>I have an insert form for a specific <code>model</code> and the <code>required fields validations</code> are works well through <code>rules function</code> in that <code>model</code>. I want to add another field in the form from another table and give its required validation. How to do this?</p>