diff --git a/pages/06.forms/02.forms/01.fields-available/docs.md b/pages/06.forms/02.forms/01.fields-available/docs.md index f4cfa29df..6116291e0 100644 --- a/pages/06.forms/02.forms/01.fields-available/docs.md +++ b/pages/06.forms/02.forms/01.fields-available/docs.md @@ -75,7 +75,7 @@ Example: name: g-recaptcha-response label: Captcha type: captcha - recaptcha_site_key: j3jeoi3jeroi23jrio234jro32nrkj43njrn32rn3 + recatpcha_site_key: j3jeoi3jeroi23jrio234jro32nrkj43njrn32rn3 recaptcha_not_validated: 'Captcha not valid!' validate: required: true @@ -83,7 +83,7 @@ Example: | Attribute | Description | | :----- | :----- | -| `recaptcha_site_key` | The Google Recaptcha Site Key | +| `recatpcha_site_key` | The Google Recaptcha Site Key | | `recaptcha_not_validated` | The message to show if the captcha is not valid | | Common Attributes Allowed | @@ -101,7 +101,7 @@ The above code will validate the Captcha in the frontend and prevent form submis ``` process: - captcha: - recaptcha_secret: ENTER_YOUR_CAPTCHA_SECRET_KEY + recatpcha_secret: ENTER_YOUR_CAPTCHA_SECRET_KEY ``` [See the Contact Form example](/forms/forms/example-form) to see it in action. @@ -177,7 +177,7 @@ my_field: | Common Attributes Allowed | -:----- | +:----- | | [autofocus](#common-fields-attributes) | | [classes](#common-fields-attributes) | | [disabled](#common-fields-attributes) | diff --git a/pages/06.forms/02.forms/02.reference-form-actions/docs.md b/pages/06.forms/02.forms/02.reference-form-actions/docs.md index ab6b40534..979ec84a8 100644 --- a/pages/06.forms/02.forms/02.reference-form-actions/docs.md +++ b/pages/06.forms/02.forms/02.reference-form-actions/docs.md @@ -129,7 +129,7 @@ To also validate the captcha server-side, add the captcha process action. ``` process: - captcha: - recaptcha_secret: ENTER_YOUR_CAPTCHA_SECRET_KEY + recatpcha_secret: ENTER_YOUR_CAPTCHA_SECRET_KEY ``` ## Add your own custom processing to a form diff --git a/pages/06.forms/02.forms/07.example-form/docs.md b/pages/06.forms/02.forms/07.example-form/docs.md index f15643e82..830b360d9 100644 --- a/pages/06.forms/02.forms/07.example-form/docs.md +++ b/pages/06.forms/02.forms/07.example-form/docs.md @@ -58,7 +58,7 @@ form: - name: g-recaptcha-response label: Captcha type: captcha - recaptcha_site_key: ENTER_YOUR_CAPTCHA_SITE_KEY + recatpcha_site_key: ENTER_YOUR_CAPTCHA_SITE_KEY recaptcha_not_validated: 'Captcha not valid!' validate: required: true @@ -71,7 +71,7 @@ form: process: - captcha: - recaptcha_secret: ENTER_YOUR_CAPTCHA_SECRET_KEY + recatpcha_secret: ENTER_YOUR_CAPTCHA_SECRET_KEY - email: subject: "[Site Contact Form] {{ form.value.name|e }}" body: "{% include 'forms/data.html.twig' %}" @@ -91,7 +91,7 @@ Some sample page content !!! Make sure you configured the "Email from" and "Email to" email addresses in the Email plugin with your email address -Make sure you add your own `recaptcha_site_key` reCAPTCHA parameter ([see the reCAPTCHA docs](https://developers.google.com/recaptcha/docs/start)). If you don't need captcha at all, just remove it from the form fields, and remove the captcha process action too. +Make sure you add your own `recatpcha_site_key` reCAPTCHA parameter ([see the reCAPTCHA docs](https://developers.google.com/recaptcha/docs/start)). If you don't need captcha at all, just remove it from the form fields, and remove the captcha process action too. Now inside the page folder create a subfolder named `thankyou/`, create a new file named `formdata.md`. Users submitting the form will be redirected on that page.