Submit ticket twice or more
-
If you press the submit ticket quickly the ticket will be added multiple times.
I thought i could solve it with some jquery but there is already a validation for empty fields.
I also found this in the public.js but isn’t working for submitting a ticket.$(‘.wpas-form’).submit(function (event) {
var submitBtn = $(‘[type=”submit”]’, $(this));
submitBtn.prop(‘disabled’, true).text(wpas.translations.onSubmit);
});is there a solution for click twice on a form?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Submit ticket twice or more’ is closed to new replies.