Module

SignUpForm

Methods

# inner handleSignUp(event)

Handles the form submission when signing up.

Parameters:
Name Type Description
event Event

The form submission event.

View Source pages/Authentication/Signup/SignupForm.jsx, line 77

# 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.

View Source pages/Authentication/Signup/SignupForm.jsx, line 154

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.

View Source pages/Authentication/Signup/SignupForm.jsx, line 165

Validation error message or null if valid.

string | null

# inner validateForm() → {boolean}

Validates the form inputs and displays validation errors if any.

View Source pages/Authentication/Signup/SignupForm.jsx, line 105

True if the form is valid, false otherwise.

boolean