BoldGrid / weforms

7 stars 11 forks source link

Javascript conflict with WP User Frontend #229

Open W3ap0n-X opened 3 months ago

W3ap0n-X commented 3 months ago

A user reported a conflict between the WP User Frontend and WeForms. Both plugins use the same event listener for submissions resulting in duplicate weforms entries.

This is the event from within weforms:

o(".wpuf-form-add").on("submit", this.formSubmit)

This is the event from within WP User Frontend

a(".wpuf-form-add").on("submit", this.formSubmit)

Was able to replicate issue with both plugins installed.