# Search form and Accommodation selection

<a id="search-form"></a>

## Search form

Customize the fields of the Search form.

![search-form-multiple.png](./attachments/search-form-multiple.png)

If you have enabled “Multiple accommodation” in [HBook > Misc > Multiple accommodation settings](../../hbook-documentation/misc-settings.md#multiple-accommodation-booking), you will see the following fields:

1. Set if you wish to have a field for the customer to indicate the **“Number of accommodation”** in the search form
2. Set the **maximum number** for the “Number of accommodation” select

You will then have the following settings for the search form:

3. Set if you wish to have a selection of the **number of “Adults”** in the search form
4. Set if you wish to have a selection of the **number of “Children”** in the search form
5. You can set a **minimum number** for the adult select
6. You can set a **maximum number** for the adult select
7. You can set a **maximum number** for the children select
8. You can override the above settings when a search is for a **specific accommodation type**. Set here if you wish HBook to use the accommodation type occupancy settings instead of the settings above.
9. In the search form, you can use **placeholder** instead of labels

* * *

<a id="accommodation-selection-form"></a>

## Accommodation selection form

Customize the Accommodation selection form.

![select-accom.png](./attachments/select-accom.png)

1. Set if you wish to allow customers to **select the accommodation number**. For example, not only can they select the “Double room” but they can as well choose which double room they wish to book among the available ones. You can add an explanation text **HBook > Text > Accommodation selection** if you wish to provide more details at this reservation step.
2. Set if the **title** of the accommodation type should have a **link** to the page used to showcase the accommodation type
3. Indicate if you wish to display a **thumbnail**. The thumbnail is the **featured image** of the post used to showcase the accommodation type
4. Set if the **thumbnail** of the accommodation type should have a **link** to the page used to showcase the accommodation type
5. Indicate the thumbnail **width** in pixels
6. Indicate the thumbnail **height** in pixels
7. Set if a **button** “View accommodation” should be displayed. It will open the page used to showcase the accommodation type in a new tab.
8. Set if any **prices** should be displayed. You always need to set rates for the booking system to work, but you can decide not to show any prices on front-end
9. Set if a **breakdown** of the price should be displayed
10. Set if the **default state** of the price breakdown: if closed, the customer will click to view the price breakdown
11. Set if the **fully detailed** accommodation breakdown should be displayed
12. Set if you wish to display the **number of available accommodation**
13. If you wish to display the number of available accommodation, but only from a specific number, you can set here the **threshold**. The message will be shown only when there are less or equal accommodation left than this threshold.

> [!INFO]
> If you have **only one** type of accommodation or in a search for a **specific accommodation type**, by default the *accommodation title*, the *accommodation thumbnail* and the *button link* towards the accommodation page are not displayed. You can override this with the parameters of the booking shortcode. See [here](../../hbook-documentation/shortcodes-blocks/booking-form.md) for more details.