I'd like to create a custom ticket form with a text field that will contain email address. The end user will need to fill-in this field before submitting the form. I need some validation on the field. I believe I can use regex type field to make sure the entered text is in the form of an email address. But I also need to validate that the email address is of the same domain as the end user that is submitting the form. For example: of my email address is email@example.com, then the email address entered in that field also must be @company.com. Is there any way of performing this validation?
Iniciar sesión para dejar un comentario.