diff --git a/support/index.html b/support/index.html index d2044ff0c5..cfe9fb2e8e 100644 --- a/support/index.html +++ b/support/index.html @@ -155,7 +155,17 @@

validator: function () { return true; } - } + }, + { + type: 'checkbox', + name: 'newsletter', + prefill: 'false', + placeholder: 'I hereby agree that I want to receive marketing emails from your company', + validator: (value) => ({ + valid: value === 'true', + hint: 'This is a mandatory field', + }), + }, ], hooks: { loggingIn: function (context, done) {