# Reorder "I agree to terms and conditions" field on the booking form

**URL:** <https://community.hivepress.io/t/reorder-i-agree-to-terms-and-conditions-field-on-the-booking-form/4431>\
**Category:** Bookings\
**Tags:** bookings\
**Created:** [February 16, 2023, 9:37am UTC](https://community.hivepress.io/t/reorder-i-agree-to-terms-and-conditions-field-on-the-booking-form/4431 "2023-02-16T09:37:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yrnelvis](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/3ab097/32.png) [@yrnelvis](https://community.hivepress.io/u/yrnelvis)\
**Post date:** [February 16, 2023, 9:37am UTC](https://community.hivepress.io/t/reorder-i-agree-to-terms-and-conditions-field-on-the-booking-form/4431/1 "2023-02-16T09:37:33Z")

</div>

Hi HP Team,  
I need a short snippet. I would like to reorder “I agree to terms and conditions” field on the booking form. Please note that this is for the booking update form and not the listing update form.  
 ![Screenshot 2023-02-16 at 10.33.59](https://community.hivepress.io/uploads/default/original/2X/4/4cd00f1db589b65e1c54effdfa8f051cec359723.png)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [February 16, 2023, 3:13pm UTC](https://community.hivepress.io/t/reorder-i-agree-to-terms-and-conditions-field-on-the-booking-form/4431/4 "2023-02-16T15:13:09Z")

</div>

Hi,

Please try this PHP snippet:

```auto
add_filter(
	'hivepress/v1/forms/booking_confirm',
	function( $form ) {
		$form['fields']['_terms']['_order'] = 123;

		return $form;
	},
	1000
);

```

Please note that it can require further customization.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [March 18, 2023, 3:14pm UTC](https://community.hivepress.io/t/reorder-i-agree-to-terms-and-conditions-field-on-the-booking-form/4431/5 "2023-03-18T15:14:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
