# How do I customize booking form fields?

URL: https://help.hubhus.com/kb/how-do-i-customize-booking-form-fields
Category: Calendar and booking / Booking forms
Updated: 2026-09-28T14:40:33.349+00:00

Summary: Go to Campaign → Booking forms → &#91;your form&#93; . In the field settings, select which fields to include. In the content editor, use @input&#91;slug&#93; to place fields and add ; required to enforce them. Test on the public URL before going live.

Control exactly which fields appear in your booking form - and which are required. You can add any campaign field, make it required at system level or inline, and show different content conditionally based on what the customer selects.

## Get started in 4 steps

1. Go to the relevant **Campaign → Booking forms** in the left menu → click the form you want to configure. For existing booking forms, field editing is in **Part 3: Confirmation**.
2. In the **"Add fields to form"** area, select which **Fields** (text, phone, email, notes), **Select fields** (dropdowns), and **Files** (uploads) should be available in the form. Save to confirm.
3. In the **content editor**, use **Ctrl/Cmd+K** to open the placeholder modal and search for `@input` to add fields. To make a field required inline, use `@input[slug; required]`. For system-level required fields, configure it in the campaign field settings.
4. Open the **public URL** of the form and test: submit with missing required fields to verify error messages, and try invalid values to confirm validation works as expected.

**System required:** blocks submit, always · **Inline required:** only on this form · **Best practice:** Keep forms short - only ask what you truly need

**Read more**

### Field types and validation

- **Text** - free-form; optionally validated with regex
- **Number** - must be numeric (ZIP codes, amounts)
- **Date/DateTime** - must match date/time format
- **Select** - must be one of the predefined options
- **File** - supported file type and within size limits

For phone numbers and emails, use dedicated phone/email field types - they have built-in format validation.

### Conditional fields - show only when relevant

Use conditional logic to show different content based on what the customer selects. Example:

```
@if( @select[visit-type,slug] == online ){
  Please make sure your camera is working.
}@else{
  Please be at the address 5 minutes early.
}@endif
```

Conditional logic is processed when the form renders - it controls surrounding content, not the input field itself. Common uses: different instructions per visit type, commercial vs. private customer messages, service-specific requirements.

### Form messages - validation and error text

Each booking form has a **Form messages** section for configuring what users see when booking fails. Examples:

- **Unsupported postal code:** "Booking is not available in postal code &#91;postal_city&#93;."
- **Address too far:** "The address &#91;location&#93; is too far to book through this form."
- **No times found:** "No available times before &#91;date&#93;. Try another date or contact us."

Use clear, actionable messages so customers understand why a booking cannot be completed - not just a generic error.

## Related articles

- https://help.hubhus.com/kb/creating-and-managing-booking-forms
- https://help.hubhus.com/kb/how-do-i-configure-booking-duration-and-time-restrictions
- https://help.hubhus.com/kb/use-booking-address-in-lead-address-field
- https://help.hubhus.com/kb/how-do-i-configure-booking-form-error-and-info-messages
- https://help.hubhus.com/kb/understanding-if-else-conditional-logic
- https://help.hubhus.com/kb/how-do-i-customize-the-look-and-feel-of-booking-forms
