Hi,
Thanks for the reply.
What you suggested is not exactly what I'm trying to achieve.
Actually, with your code, if I press enter after entering a value in the input field I don't get the error message directly.
I need to see the message displayed directly along with the values in the listbox to pick one and press enter to remove the error message.
Right now, I can either fill the listbox with values or display the error message but not both, and I need to do both.
Thanks in davance.