0
need to specify what will be mandatory depending on which form is displayed.
I have a Model that has some Ex fields.:
//Model User
:name, age, address:
In Create for User, only :name must be required. After the User is created, will have two links one will open a form in a modal requesting only the :age, and in this form the :age should be mandatory. And the other link will also open a form in a modal requesting only :address which in turn should also be required in this form.
How best that could be possible?
This does not answer the question. When you have reputation enough, you’ll be able to leave comments on any post but until then, write only answer that no depend on more information of who asked. - Of Revision
– Marcus Nunes
Ok! Noted! Although the answer is correct I was negative :-)
– Adell
How do you know that the answer is correct, if you didn’t get to test?
– Wallace Maxters