Swaranan Guest Selector for Contact Form 7

تفصیل

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.

اسکرین شاٹس

انسٹالیشن

  1. Upload the plugin files to the /wp-content/plugins/swaranan-guest-selector-for-contact-form-7 directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the "Plugins” screen in WordPress.
  3. Make sure Contact Form 7 is installed and activated.
  4. Edit a Contact Form 7 form.
  5. Click the new "Guests” button in the form editor toolbar.
  6. Configure your field options and insert the tag.

عمومی سوالات

Does this plugin require Contact Form 7?

Yes. Contact Form 7 must be installed and activated.

Can I disable child age fields?

Yes. Simply omit the child_ages option from the form tag.

Does it support required fields?

Yes. Use the required version of the tag:

[guest_selector* guests]

Can I limit the number of guests?

Yes. Use min: and max: options.

Example:

[guest_selector guests min:1 max:8]

Can I show the label as the first dropdown option?

Yes. Add first_as_label and provide a label: value.

Example:

[guest_selector participants min:0 max:20 default:0 label:Number label:of label:Participants first_as_label]

جائزے

تمام 1 جائزے پڑھیں

شراکت دار اور ڈیویلپرز

“Swaranan Guest Selector for Contact Form 7” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

چینج لاگ

1.1.1

  • Updated Child Age field placeholder.
  • Updated screenshot

1.1.0

  • Added Contact Form 7 tag generator button
  • Added Guests field settings popup
  • Improved frontend UI
  • Added optional child age fields
  • Added validation improvements
  • Added mail tag support

1.0.0

  • Initial release