OpenMeet

# checkForm

fun checkForm(name: TextInputLayout, surname: TextInputLayout, birthdayMillis: Long?, birthday: TextInputLayout, email: TextInputLayout, password: TextInputLayout, confirmPassword: TextInputLayout, displayErrors: Boolean): Boolean

This function checks if the meeter inputs are valid (e.g. email is valid, password is long enough, etc.). If they are not, it displays the error message.

#### Return

true if the meeter is already registered, false otherwise

#### Author

Yuri Brandi

#### Parameters

name

the name of the meeter

surname

the surname of the meeter

birthdayMillis

the birthdate of the meeter in milliseconds

birthday

the birthdate of the meeter

email

the email of the meeter

password

the password of the meeter

confirmPassword

the confirmation of the password

displayErrors

if true, it displays the error messages. Used for test purposes.