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:

https://suitecrm.com/suitecrm/forum/developer-help/4127-validate-textbox-using-js

https://gunnicom.wordpress.com/2015/09/21/suitecrm-sugarcrm-6-5-add-custom-javascript-field-validation/

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