Asurion Interview Question

How would you validate a form submission?