openlibrary
openlibrary copied to clipboard
Editing - Submit button should be disabled till google verifies recaptcha.
When editing a book, the save button at the end should be disabled till the google verifies recaptcha entry. Currently, it is clickable which takes the user to another error screen. Check the screenshots attached.
Evidence / Screenshot (if possible)
Relevant url?
https://openlibrary.org/books/OL23245221M/Catch-22/edit
Steps to Reproduce
- Log in
- Go to any book and click edit
- Scroll down and click submit, it lets you click
- Actual - It takes the user to an error screen saying invalid captcha
- Expected - Button should be disabled till the user is verified as a human
Details
- Logged in (Y/N)? Y
Proposal & Constraints
Button should be disabled till the user is verified as a human
Stakeholders


@cdrini
This could interfere with the trusted-users feature (see #4998) (I only bring it up, because I don't see a CAPTCHA at all which I guess means I might be a "trusted-user").
@agmckee, I see but we can add a conditional check for the same on the front-end like if the user doesn't have a "trusted-user" tag (a normal user) then he should verify as human to enable the button.