Support › MB Frontend Submission › Cloning form and event handlersResolved
I am looking to clone a front end form but from my understanding this only created a shallow copy of the form (no event handlers).
const dcCommentFormClone = metaboxForm.cloneNode(true);
I was wondering does metabox front end JS use event delegation to handle click events?
Meta Box does not support cloning the frontend form of MB Frontend Submission. You can do something when cloning custom fields with the trigger events. Please read more here https://github.com/wpmetabox/meta-box/blob/master/js/clone.js#L122-L151
Ok thanks for clarifying. I can work around this with the custom fields trigger events.