I have this Entity, already set mandatory for all fields. But about two field (Numberof...) with only the first being mandatory. How I can set it? Just Choose Is Mandatory Properties?

Solution

Hi dat,

Is there any priorty to make madatory in these two?  if yes then make the high priority as mandatory, if not then you can do this with custom validation.

check atleast one of the field is not empty, if true then proceed, if not throw an error making  valid property false or give error message to fill atleast one field.

hope it helps

regards

seema


Solution

Seema Pandey wrote:

Hi dat,

Is there any priorty to make madatory in these two?  if yes then make the high priority as mandatory, if not then you can do this with custom validation.

check atleast one of the field is not empty, if true then proceed, if not throw an error making  valid property false or give error message to fill atleast one field.

hope it helps

regards

seema



Thanks very much. I got this idea.

Hi dat,

If the above post helps you to solve your issue, please mark this as a solution, so that it can helps others.