N
N
Nik_10112020-10-01 09:19:22
JavaScript
Nik_1011, 2020-10-01 09:19:22

How to make WordPress CF7 form submit more than once?

Hello.
Found a solution to combat spam. Variant with $('.agree').prop('checked', false); didn't work.
The comments suggested 2 options:
1) $('.agree').click(); (working option, but since version 3 of jquery you need to write .on('click') so it didn't work out what you need)
2) $( '.agree').trigger('click'); (everything clearly works, but after the form is sent, a checkmark is set and that's it, the form is not sent more than 1 time).

Hence the question: what are the possible solutions to this situation? And maybe there are more effective ways to deal with spam of this kind?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question