How Can I hide the delete link from a record? So the user have to press my custom delete button to delete the record.

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

I need to hide the delete option so the user always use my custom delete button. I tried removing the delete permission but my button stop working to.

Photo of MichaxEBl

MichaxEBl

  • 0 Points

Posted 4 years ago

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

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,434 Points 20k badge 2x thumb
First I would suggest caution in regard to modifying QuickBase's native interface. If possible I would first try and achieve what you want using native features. If you have to use script you should know what you are doing and be prepared to debug problems when they occur - for example if QuickBase changes their implementation of some native feature your code could stop working without any notice. Also, be aware that QuickBase probably has implemented more features and safeguards than you may be aware of. For example, before deleting a record QuickBase asks for confirmation. Likewise, when saving a record there are a host of extra services QuickBase performs ranging from conflict resolution (two users editing the same record) to various levels of field validation. Unwittingly your customization may interfere with the native operation of bypass a feature you are not even aware of.

With the disclaimers out of the way, this command will hide the delete button:

$("#deleteButton").hide();