Valtech Interview Question

write a form details using name, email id , password with validation?