• Resolved bishwadeep

    (@bishwadeep)


    Hello,
    I am using this plugin since 2015. This is an awesome plugin. Recently after updating the plugin to 1.5.0.6, I am having some issues with form validation. Previously, jQuery was used for form validation however, now Parsley is used for form validation. I have updated all the form validation functions accordingly.
    The only issue I have now is that parsley’s form:error handle is called multiple times.
    To be more specific, I have list of courses(https://studyselect.local/university-courses/) on this page. A form loads when the enquire online button is clicked. I am sending stats to Google analytics every time there is a form validation error. Its working fine when I load a form for first time. However, when I close the form and open another one, the event is fired 2 times and it adds up every time I open a new form.
    I am using:

     window.Parsley.on('form:error', function() {
      //my code here
    });

    Please let me know if you need more information.

    Thank you,
    BD

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parsley form:error firing multiple times’ is closed to new replies.