I need to specify what is required depending on which form is displayed.
I have a Template that has some Ex fields.:
// Model User
: name,: age,: address
No Create for the User, only: Name must be mandatory. After the User is created, it will have two links one will open a form in a modal requesting only the: age, and in that form the: age should be obligatory. And in the other link will also open a form in a modal requesting only the: address which in turn should also be mandatory in that form.
How would the best way be possible?