Control text box

Hello everybody

I would like to know if it is possible during a dialogue service, that the hostname that the user will enter in the text box exists long before he can do a submit ?

Thank you

Regards
Philippe