Date Validation:-
a. Specify the type as date and
b. Format it will take as systems built-in format
c. .$error.date helps you to display the required field message.
Email Validation:-
a. Specify the type as Email and
b..$error.email helps you to display the required field message.