# How to handle removing Form Container entries when a user presses cancel?

**URL:** https://community.glideapps.com/t/how-to-handle-removing-form-container-entries-when-a-user-presses-cancel/64549
**Category:** Ask for Help
**Created:** [July 31, 2023, 2:41pm UTC](https://community.glideapps.com/t/how-to-handle-removing-form-container-entries-when-a-user-presses-cancel/64549 "2023-07-31T14:41:46Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [August 1, 2023, 1:01am UTC](https://community.glideapps.com/t/how-to-handle-removing-form-container-entries-when-a-user-presses-cancel/64549/4 "2023-08-01T01:01:03Z")

</div>

I think there are 2 options here

**Option 1**

Only allow users to book through the form you have, add items later in the details screen of the booking using another form (can be a form container, or a form screen).

**Option 2**

Use a custom form.

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particula…

Add a user-specific booking ID column in the work table for the form.

Add a single value column in the user profiles table to cast the booking ID value to that table (first \> Work table \> Booking ID column).

The button to open the form should check if a booking ID is presented. If presented, just show the details screen for the custom form row, else set a unique ID value to that column.

Now, every item added should contain the booking ID.

Since booking IDs are not cleared when the user moves back using a “Cancel” button you create, they will stay there until the user submits the booking (and you clear the booking ID, prepare for the next iteration).

---

_[View the full topic](https://community.glideapps.com/t/how-to-handle-removing-form-container-entries-when-a-user-presses-cancel/64549)._
