You may wish to allow users to submit your contact form only if they accept certain terms. In such cases, a form tag acceptance will be useful.
The process is simple. Just insert an acceptance tag into your form like this:
[acceptance accept-this] Check here if you accept these terms.
Due to JavaScript magic, users won’t be able to press the submit button without first checking the box to accept your terms. In addition, you can invert it with an invert option, i.e. allowing users to submit only if they uncheck the checkbox.
| Option | Examples | Description |
|---|---|---|
| id:(id) | id:foo |
id attribute value of the input element. |
| class:(class) | class:bar |
class attribute value of the input element. To set two or more classes, you can use multiple class: option, like [acceptance accept-this class:y2008 class:m01 class:d01]. |
| invert | Allow users to submit only if they uncheck the checkbox. | |
| default:on | Check the checkbox by default. |
Demo
Note: This is a demo. This form doesn’t send a mail practically.
View source of above form:
1) Default
[acceptance accept-this-1] Check here if you accept these terms.
2) Inverted
[acceptance accept-this-2 invert] Uncheck here if you accept these terms.
3) Checked by default + Inverted
[acceptance accept-this-3 invert default:on] Uncheck here if you accept these terms.
[submit "Send"]
English
Japanese 

Comments are closed.