Function used to set the validation status to the given Dropdown Id
The id of the Dropdown element
Whether the value is valid
The message shown when the value is not valid
Return Message Success or message of error info if it's the case.
Function used to set the validation status to the given Dropdown Id