Skip to content

Commit

Permalink
Add to playground
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Aug 4, 2023
1 parent 1c0066d commit 2422fd3
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 2422fd3

Please sign in to comment.