Is there a way to make it harder to delete a record? Protect it from accidental deletion? Have to click a checkbox or something?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

Users try to clear up but accidentally deleted a record. Is there a way to add a checkbox field like .. "Allow delete". before letting user delete the record?

Thanks!!

Photo of George

George

  • 80 Points 75 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,184 Points 20k badge 2x thumb
You can do this with the image onload technique by redefining QuickBase's DoDelete() function  to call a modified version of DoDelete() with a second level of confirmation using the code in the pastie below:

Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=507

Attached is a screenshot of the second confirmation dialog box.

Obvious this solution has web scale as you can repeat the number of confirmations to as many levels as you desire.