{{ forms.lightswitchField({
label: 'Validate contact forms',
instructions: 'Enable to validate all forms with when using the [Contact Form plugin](https://github.com/craftcms/contact-form).',
id: 'validateContactForm',
name: 'validateContactForm',
on: settings.validateContactForm
})
}}
{{ forms.lightswitchField({
label: 'Validate users registration',
instructions: 'Enable to validate the user registration forms',
id: 'validateUsersRegistration',
name: 'validateUsersRegistration',
on: settings.validateUsersRegistration
})
}}
You still have to add this to your twig template inside the <form> tag: