Resolved
Reported for: Toolset Forms 2.0
Resolved in: 2.4
When using a Toolset front-end form for submitting posts, users or relationships, and that form does not use AJAX submission, then the form can be submitted several times.
This happens when clicking the submit button very fast, several times. As a consequence, multiple instances of the post are created.
There are currently two workarounds for this issue:
1. Use the AJAX option for submitting the form.
Or
2. Add the following code snippet to the form’s JS Editor:
jQuery(document).ready(function($){ $('form.cred-form').on('submit', function(e){ if ($('form.cred-form').valid()) { $('input.wpt-form-submit').hide().after('<span>Sending...</span>'); } }); });