#{extends 'main.html' /}

# Validation sample 2

#{ifErrors}

## Oops, please correct these errors

#{/ifErrors} #{form @Sample2.handleSubmit()}
User informations
Desired username : #{error 'username' /}
First name : #{error 'firstname' /}
Last name : #{error 'lastname' /}
Age : #{error 'age' /}
Password
Password : #{error 'password' /}
Confirm password : #{error 'passwordConfirm' /}
Email
Email address : #{error 'email' /}
Confirm email address : #{error 'emailConfirm' /}
Conditions
Checking this box indicates that you accept terms of use. If you do not accept these terms, do not use this website :
I accept terms of use : #{ifError 'termsOfUse'}Please accept terms of use#{/ifError}
#{/form}