Skip to content

Update FormIt docs for reCAPTCHA v3 and AJAX#567

Merged
Ibochkarev merged 1 commit into
modxorg:3.xfrom
ilyautkin:3.x
May 27, 2026
Merged

Update FormIt docs for reCAPTCHA v3 and AJAX#567
Ibochkarev merged 1 commit into
modxorg:3.xfrom
ilyautkin:3.x

Conversation

@ilyautkin
Copy link
Copy Markdown
Contributor

Description

Documents two new features added in FormIt 5.2.x:

AJAX Form Submission — new page covering setup, how it works, the data-formit-* attribute API, CustomEvents (formit:beforesubmit, formit:success, formit:error, formit:redirect, formit:complete), CSS loading state, and JSON response structure.

reCAPTCHA v3 — rewrote the recaptcha hook page: removed v1-specific content (recaptchaTheme, recaptchaJs, recaptcha_public_key, recaptcha_private_key), documented new system settings (recaptcha_site_key, recaptcha_secret_key, recaptcha_min_score) and the recaptchaAction snippet property.

Also updated form examples on both the AJAX page and the Simple Contact Page: replaced loose label/input pairs with form-field wrapper divs, fixed <textarea> markup, corrected reCAPTCHA placeholder usage.

Russian translations updated throughout.

Affected versions

3.x only (AJAX added in 5.2.0, reCAPTCHA v3 in 5.2.1).

Relevant issues

Related to FormIt PR that introduced AJAX support (#302).

@Ibochkarev Ibochkarev merged commit 7fea712 into modxorg:3.x May 27, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants