Page for the signup form.
Methods
# inner handleSignUp(event)
Handles the form submission when signing up.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event
|
The form submission event. |
# inner isValidEmail(email) → {boolean}
Checks if an email is valid based on a basic regex pattern.
Parameters:
| Name | Type | Description |
|---|---|---|
email |
string
|
The email address to validate. |
True if the email is valid, false otherwise.
boolean
# inner isValidPassword(password) → {string|null}
Validates a password based on certain criteria.
Parameters:
| Name | Type | Description |
|---|---|---|
password |
string
|
The password to validate. |
Validation error message or null if valid.
string
|
null
# inner validateForm() → {boolean}
Validates the form inputs and displays validation errors if any.
True if the form is valid, false otherwise.
boolean