Skip to content

Commit

Permalink
Add to playground
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Sep 5, 2023
1 parent e0bb598 commit a849c01
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion support/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,17 @@ <h1 class="navbar-brand">
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) {
Expand Down

0 comments on commit a849c01

Please sign in to comment.