
Swaranan Guest Selector for Contact Form 7
v1.1.2Swaranan Singha Barman · 2026年5月29日 上架
Adds a guests field for Contact Form 7 with Adults, Children, and optional Children Age selection.
- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 502
- 最近更新
- 2026年8月27日
1 条评价需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
截图
Swaranan Guest Selector for Contact Form 7 extends Contact Form 7 by adding an advanced Guests selector suitable for hotel bookings, tours, reservations, events, and travel forms.
Instead of a simple number field, users can:
- Select total guests
- Choose Adults and Children separately
- Optionally enable age fields for each child
- Automatically validate totals
- Send structured guest data through Contact Form 7 emails
The plugin integrates directly into the Contact Form 7 form editor with its own tag generator button.
Features
- Adds a custom Guests field type to Contact Form 7
- Adults & Children selector UI
- Optional child age fields
- Configurable minimum and maximum guests
- Required field support
- Mobile-friendly UI
- Optional first dropdown label using
first_as_label - Validation for total guest count
- Mail tags support
- Easy shortcode/tag generator inside Contact Form 7 editor
Example Form Tag
[guest_selector* guests min:1 max:10 label:Total label:Guests first_as_label child_ages]
Available Mail Tags
[guests]
[guests_adults]
[guests_children]
[guest-selector-summary]
Example Output
Guests: 4
Adults: 2
Children: 2
Child Ages: 5, 8
License
This plugin is licensed under the GPLv2 or later.


