Support fields validation with captcha#1961
Conversation
WalkthroughThe changes made to the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Form
participant Validator
participant reCAPTCHA
User->>Form: Submit Form
Form->>Validator: Validate Form
alt No Errors
Form->>Form: Show Loading Indicator
Form->>reCAPTCHA: Execute reCAPTCHA
else Errors
Form->>Form: Show Validation Errors
end
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
truongwp
left a comment
There was a problem hiding this comment.
This looks good. Thanks @AbdiTolesa!
Crabcyborg
left a comment
There was a problem hiding this comment.
Thank you @AbdiTolesa @truongwp and @garretlaxton for working on this!
I think this looks good to merge.
🚀
|
Nevermind! I spoke too soon. I'm reverting this #1973 There's a reason why it processes the captcha before it does the JS validation. After the JS validation happens, the captcha goes red and I can't submit my form. Screen.Recording.2024-09-09.at.1.19.17.PM.mov |
|
@Crabcyborg I tested this again following your steps but I can't trigger the captcha error, here is my screen record: |
|
@AbdiTolesa I'm not sure why it isn't failing for you. It should be failing when Since I was able to fix my issue by avoiding the call to I have a new PR here #2003 |

Fix https://github.com/Strategy11/formidable-pro/issues/5304
Test Procedure