+ Start a Discussion
Staci CaraStaci Cara 

Button that deletes field values on a record

I need to add on a layout a button that deletes/empties certain field-values of the object once it gets clicked. The logic of the deletion is already implemented but now it shall be done via button click. Can anyone help? How do I combine the code with the button?

 

devedeve
Hi Staci,

You can create custom button having behaviour execute javascript and write the javascript code to deletes/empties certain field-values of the object.