Delete option to custom form


I am building a custom module, which has a section to add a button to it. This button is added using field type form. This form is same as a button module. This form helps me add a button to my module, but how do I add option to delete/remove this button.


Hi pc,

Maybe you can use a select field to toggle if the button is shown? Something like Show Button => Yes/No. Would that work?


It could work. Thanks Justin!