Support

Account

Home Forums Front-end Issues ACF_form disable save button to prevent duplicate requests / UX improvement

Solving

ACF_form disable save button to prevent duplicate requests / UX improvement

  • On front-end edit/submission of a form, when you hit save button, the save button can be clicked again while it is loading. When clicked, it actually submits the data twice. So if it’s a submission form, more than 1 post will be created.

    How can we disable the save button while it is loading or submitting data?

    We have tried
    $.click
    $.ajaxStart
    $.submit
    But they don’t work because the form stops being submitted.

    Any ideas on how to do this?

    Thanks,
    Daryll

  • Hi @darylldelfin

    Could you please open a new ticket here: https://support.advancedcustomfields.com/new-ticket? That way this issue can be passed to the plugin author directly.

    Thanks 🙂

  • Did you ever get this figured out? I’m running into the exact same issue.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘ACF_form disable save button to prevent duplicate requests / UX improvement’ is closed to new replies.