Validation for priority group not working

Hello Team,


I am trying to validate the priority group selection and using valid property for that, but I cannot see that working.


Can you let me know how to check if one of the selection are made.


Thanks and Regards,

Atul patel

Hi Atul,

I'm assuming you are doing the mobile online exercise...

To check that one of the selections was made you can check that the value in GetToDoById.List.Current.ToDo.PriorityId is different from NullIdentifier().

To make it automatic in the built-in validations (and use the Valid property of the form) check that the Mandatory property of the ButtonGroup is set to Yes.

If you are still stuck please share your module's oml.

Cheers,

José

Solution

José Costa wrote:

Hi Atul,

I'm assuming you are doing the mobile online exercise...

To check that one of the selections was made you can check that the value in GetToDoById.List.Current.ToDo.PriorityId is different from NullIdentifier().

To make it automatic in the built-in validations (and use the Valid property of the form) check that the Mandatory property of the ButtonGroup is set to Yes.

If you are still stuck please share your module's oml.

Cheers,

José

Thanks José,


I worked for me.


Regards,

Atul Patel


Solution