Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add data conset checkbox to form #81

Closed
giuliamml opened this issue Sep 7, 2021 · 1 comment
Closed

add data conset checkbox to form #81

giuliamml opened this issue Sep 7, 2021 · 1 comment

Comments

@giuliamml
Copy link
Collaborator

At the bottom of each signup form, before the submit button, add a required checkbox for user data consent (at a later stage, we'll add a link to a 'how we use your data' page/popup

Actions for the checkbox:

  • The form should be submitted only if the user ticks the checkbox, alternatively display an error msg
  • The checkbox value should be added to Firebase

Forms are displayed in the following pages:

  • NewChainSignup.tsx
  • Signup.tsx
@kfless12
Copy link
Contributor

kfless12 commented Sep 9, 2021

Updated the UI to include the checkbox with an error message if the user doesnt check it. I added the necessary changes to the firebase end of the app but I am not sure how to test the upload as it seems like the function needs to be pushed up with changes to the git repo in order to update the firebase "createUser" fuinction. Ill put in a pull request for the changes for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants