---
title: Clear Dates Button Shortcode
description: "The `[homerunner-clear-dates-btn]` shortcode displays a button that clears the selected dates from the booking form. ## Basic Usage ``` [homerunner-clear-dates-btn] ``` ## Overview This is a utility shortcode that adds a button to clear the selected check-in and check-out dates…"
url: "https://homerunner.io/docs/property-clear-dates-button-shortcode/"
updated: "2025-04-03"
category: Shortcodes
---

# Clear Dates Button Shortcode

The `[homerunner-clear-dates-btn]` shortcode displays a button that clears the selected dates from the booking form.

## Basic Usage

```
[homerunner-clear-dates-btn]
```

## Overview

This is a utility shortcode that adds a button to clear the selected check-in and check-out dates from the booking form. It's particularly useful when you want to give users an easy way to reset their date selection.

## Parameters

This shortcode does not accept any parameters. It will automatically work with the booking form on the page where it is placed.

## Example Implementation

```
[homerunner-clear-dates-btn]
```

When clicked, this button will:

1. Clear the check-in date
2. Clear the check-out date
3. Reset any related booking calculations
