V9.4 PHP Button Confirmation and SweetAlert

I have maintenance form applications using PHP buttons that do things like clean up text or number string formats to using sc_exec_sql to update tables. It is incredibly annoying to have to click ?Ok? each time the script completes ? the user typically uses these buttons hundreds of time during a workday.

In version 9.4, the confirmation message using sc_confirm appears to now use SweetAlert. However, is there a parameter that affects the completion message ?Ok?? Perhaps closing the Ok message in 5000 milliseconds and position somewhere else on the screen? Or is there a better way to do the following which minimizes user clicks?

Example button PHP now used:

sc_confirm(? Do you really want to set Status ?);

sc_exec_sql("UPDATE company    
    SET    
        Temp = "IS"
    WHERE    
        CompanyExtID = '{CompanyExtID}'");
1 Like