# Change delete button confirmation text

**URL:** <https://forums.knack.com/t/change-delete-button-confirmation-text/17707>\
**Category:** Get Answers\
**Created:** [August 14, 2024, 7:23am UTC](https://forums.knack.com/t/change-delete-button-confirmation-text/17707 "2024-08-14T07:23:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micah1](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@Micah1](https://forums.knack.com/u/Micah1)\
**Post date:** [August 14, 2024, 7:23am UTC](https://forums.knack.com/t/change-delete-button-confirmation-text/17707/1 "2024-08-14T07:23:12Z")

</div>

Hey all! Has anyone come up with a bit of javascript to change the text on the confirmation prompt of a delete button? I would like to change the text from the standard, “Are you sure you want to delete this?”.

![Screenshot 2024-08-14 172032](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/7/7f8245063aa3dcde31dcb248461498aaa02be029.png)

---

<div class="post-metadata">

**Author:** ![Micah1](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@Micah1](https://forums.knack.com/u/Micah1)\
**Post date:** [August 16, 2024, 1:26am UTC](https://forums.knack.com/t/change-delete-button-confirmation-text/17707/2 "2024-08-16T01:26:52Z")

</div>

Here is what I have tried below

1. Custom JavaScript to Override Confirmation Text:

2. Custom JavaScript to Create a Custom Delete Button:

3. Custom JavaScript to Remove the Confirmation Prompt Entirely:

None of the above work. I have managed to get a second prompt but cannot remove the first or change the text.

I’m looking to either:

1. Change the default confirmation text that appears when deleting a record.
2. Alternatively, remove the confirmation prompt altogether and allow the deletion to proceed immediately.

Any assistance with this would be so greatly appreciated!!!
