このページは日本語でもご利用いただけます。
A hidden field is a special input field whose value is sent with a form submission like other fields, but the field itself is not rendered and invisible on the front end.
Contact Form 7 supports the hidden
form-tag type to represent hidden fields.
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 [hidden your-text class:y2008 class:m01 class:d01] . |
default: (source) |
Example:
[hidden your-email default:user_email "example@example.com"]