Public Lab

Correct Sign-up Form Validation Message

  • At the moment when a user tries to submit an empty sign up form, and also does not check off the recaptcha box, An error pops up which mainly says, "recaptcha verification failed".
  • Instead, we want all the relevant errors ("field cannot be empty" or so) to be listed along with the failed recaptcha verification. ### Each part in this problem is worth some points. We will accept answers that complete one part and not the other, but encourage you to go for all 3. Completion of all three will result in bonus points :)
  • fix the create action so that the correct errors show
  • fix the error messages themselves as well. If you see below, there are three different errors for email, but only one of them is correct.
  • write a test reflecting this fix. Guidelines: the test must fail without your changes, and your changes are what makes it pass.

Please check this link for more information - https://github.com/publiclab/plots2/issues/6303

Task tags

  • hard
  • coding
  • bug

Students who completed this task

NotDeGhost

Task type

  • code Code
close

2019