FightPandemics / FightPandemics/FightPandemics

[WEBAPP] Validation in onboarding pages

Open
#506 5 comments 0 reactions 0 assignees View on GitHub
Desktop Mobile Web MVP - Release 1 p_Onboarding/Registration
Dominant language
JavaScript
Stars
108
Forks
135
PR merge metrics
No merged PRs in 30d

Description

Hello Team,

Please note that the onboarding pages must activate the next icon only when the input is provided and valid. The validation rules need to be followed for both Give Help/Take Help workflows

Validation rules:
Question 1/3
The next button gets activated only after selection of either "Medical" or 'Other Help"

Question 2/3
Location must be from the dropdown/detected and valid for the next button to be active

![image](https://user-images.githubusercontent.com/6276256/83173031-0d336780-a136-11ea-88be-43fd9d87538b.png)

![image](https://user-images.githubusercontent.com/6276256/83173071-1d4b4700-a136-11ea-93ce-8e9599be46ea.png)

Question 3/3
User must enter a valid email address to proceed.

If the validation conditions are not met, the next button should not be activated.

Feel free to reach out to me in case of questions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.