Joomla Portal - User Presses Save Multiple Times

When a user presses save in the portal Create Case form, while the API is being executed in Suite, the user has the ability to press save over and over. Please implement a form script that prevents multiple records from being created. Something like the below snippet in JS? Not sure on preference of how to accomplish this from SalesAgility.

Hope you guys are all doing well.

$("form").submit(function () {
    if ($(this).valid()) {
        $(this).submit(function () {
            return false;
        });
        return true;
    }
    else {
        return false;
    }
});

Hi Nate,

We’re all doing well thanks.

Multiple cases are not submitted, so do you just mean you want to grey out the buttom?

Thanks,

Will.

Hey Will,

Yep making the button “un-clickable” should stop this from occurring.