[GH-ISSUE #2200] Signup page: Improve real-time validation for email and password fields #637

Open
opened 2026-02-26 18:47:52 +03:00 by kerem · 3 comments
Owner

Originally created by @tanushree-coder-girl on GitHub (Nov 15, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/2200

Describe the improvement you are suggesting in detail

On the signup page, both the email and password fields only update their validation messages after the user clicks outside the input field.
This happens because the form is using React Hook Form with mode: 'onBlur'.

Because of this behaviour, users still see red error messages even after correcting their input, until they click outside the field. This can create confusion.

I am attaching a screenshot to show how the validation appears to remain incorrect even after the input is fixed, which may mislead users.

Image

Expected Behavior:

Validation should update in real-time while typing, and any requirement that is fulfilled should clear immediately.

Suggested Enhancement:

Update React Hook Form configuration from:
mode: 'onBlur'

To

mode: 'onChange'

Additional Note:

I already have an MR ready for this.
I can open it immediately if this enhancement is approved.

Additional Information & Alternatives (optional)

No response

Do you want to work on this improvement?

Yes

Please check the boxes that apply to this improvement suggestion.

  • I have searched the existing issues and improvement suggestions to avoid duplication.
  • I have provided a clear description of the improvement being suggested.
  • I have explained the rationale behind this improvement.
  • I have included any relevant technical details or design suggestions.
  • I understand that this is a suggestion and that there is no guarantee of implementation.
Originally created by @tanushree-coder-girl on GitHub (Nov 15, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/2200 ### Describe the improvement you are suggesting in detail On the signup page, both the **email** and **password** **fields** only update their validation messages after the user clicks outside the input field. This happens because the form is using React Hook Form with `mode: 'onBlur'`. Because of this behaviour, users still see red error messages even after correcting their input, until they click outside the field. This can create confusion. I am attaching a screenshot to show how the validation appears to remain incorrect even after the input is fixed, which may mislead users. <img width="639" height="601" alt="Image" src="https://github.com/user-attachments/assets/111fa181-a449-492d-9036-d8e947f9a580" /> ### Expected Behavior: Validation should update in real-time while typing, and any requirement that is fulfilled should clear immediately. ### Suggested Enhancement: Update React Hook Form configuration from: `mode: 'onBlur' ` To `mode: 'onChange' ` ### Additional Note: I already have an MR ready for this. I can open it immediately if this enhancement is approved. ### Additional Information & Alternatives (optional) _No response_ ### Do you want to work on this improvement? Yes ### Please check the boxes that apply to this improvement suggestion. - [x] I have searched the existing issues and improvement suggestions to avoid duplication. - [x] I have provided a clear description of the improvement being suggested. - [x] I have explained the rationale behind this improvement. - [x] I have included any relevant technical details or design suggestions. - [x] I understand that this is a suggestion and that there is no guarantee of implementation.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 15, 2025):

Thank you for opening your first issue and for being a part of the open signing revolution!

One of our team members will review it and get back to you as soon as it possible 💚

Meanwhile, please feel free to hop into our community in Discord

<!-- gh-comment-id:3536260843 --> @github-actions[bot] commented on GitHub (Nov 15, 2025): Thank you for opening your first issue and for being a part of the open signing revolution! <br /> One of our team members will review it and get back to you as soon as it possible 💚 <br /> Meanwhile, please feel free to hop into our community in [Discord](https://documen.so/discord)
Author
Owner

@Vkpro55 commented on GitHub (Nov 16, 2025):

Hi! I'd like to work on this issue. I have experience with React Hook Form and real-time validation, and can implement this update if approved. Please let me know if I can proceed. Thanks!

<!-- gh-comment-id:3538871491 --> @Vkpro55 commented on GitHub (Nov 16, 2025): Hi! I'd like to work on this issue. I have experience with React Hook Form and real-time validation, and can implement this update if approved. Please let me know if I can proceed. Thanks!
Author
Owner

@tanushree-coder-girl commented on GitHub (Nov 16, 2025):

Hi @Vkpro55 I already have MR ready for the fix. As mentioned in the description.

<!-- gh-comment-id:3538891576 --> @tanushree-coder-girl commented on GitHub (Nov 16, 2025): Hi @Vkpro55 I already have MR ready for the fix. As mentioned in the description.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#637
No description provided.