How to populate a text, based on user selection in the dropdown.

The onCustomValidation() function is for implementation of custom validation of user input.

For your use, you will need to use the Dropdown onChange() function. When the user selects an option from the Dropdown, the text message can then be set.