My Account

Forums

Home Forums General Error form load twice Reply To: Error form load twice

#82261
Antonio Canas
Participant

Like this in the code?

 $(document).on('wsf-rendered', function(e, form, form_id, instance_id) {
        // The form ID this script should run for
       var my_form_id = 8;
        // Do not run this JavaScript if this event does not belong to my form ID
        if(form_id != my_form_id  || instance_id != my_form_id ) { return;  }
 alert('c');
// refreshNotes();