Using buttons

I created a button in a grid (but I expect it goes for forms too) to generate a security tree on all records. There’s a bunch of php executed once pressed on this button. When the script is done, then a ‘ok’ button appears. If you set a confirmation message then you get the message as a modal box, then after clicking on it, the ok button appears. You can let the script run in a modal box. Then the ok button appears and then an empty modal form. Somehow this ok button is annoying me. How can I get rid of that? If I have a confirmation message why there’s still the ok button step?

1 Like