Dropdown list blank value

Hi all,

I added a blank value to a dropdown list and made it the default value.
That field is mandatory.

The problem is that the if I don’t choose another value, the crm sees the blank one as correct, bypassing the mandatory requirement.

At the same time, fields with a default blank value (not added) make you choose a value (like Country).

How can I solve this?

You can add some JavaScript validation to your field:



Another way (more complicated and might not be practical) is to create a hook to avoid saving when field is empty.