Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter darko1970

    (@darko1970)

    Thanks a lot. The problem is solved ?? However, now new challenges arise ?? Now that I’ve created the desired number of forms, I’m wondering if there’s a possibility to change or add email addresses of recipients of notifications that someone has filled out the form, in one go for all forms? Thanks again.

    Thread Starter darko1970

    (@darko1970)

    I tried to follow the instructions, however, the result is this. I received a ‘must use’ plugin, but it’s not working and an error code appears on the WordPress dashboard. Where did I go wrong?

    mudev_attach_pdf_to_form’); function wpmudev_attach_pdf_to_form() { if ( ! isset( $_GET[‘page’] ) ) { return; } if ( $_GET[‘page’] != ‘forminator-cform’ ) { return; } if ( empty( $_GET[‘form-duplicate’] ) ) { return; } $form_id = $_GET[‘form-duplicate’]; if ( empty( $form_id ) ) { return; } $form_post = (array) get_post( $form_id ); // Post to duplicate. if ( ! $form_post ) { return; } unset( $form_post[‘ID’] ); // Remove id, wp will create new post if not set. for( $i=0; $i < 3; $i++ ) { $incr_id = $i + 1; $form_post[‘post_title’] = $form_post[‘post_title’] . $incr_id; $new_form_id = wp_insert_post( $form_post ); $form_meta = get_post_meta( $form_id, ‘forminator_form_meta’, true ); $form_meta[‘settings’][‘formName’] = $form_meta[‘settings’][‘formName’] . $incr_id; $form_meta[‘settings’][‘form_id’] = $new_form_id; if ( ! update_post_meta( $new_form_id, ‘forminator_form_meta’, $form_meta ) ) { return; } } }

    • This reply was modified 6 months, 2 weeks ago by darko1970.
    Thread Starter darko1970

    (@darko1970)

    Hello @wpmudevsupport3 ,

    Honestly, I believe this is all good, but I’m a total beginner and I’m afraid to dive into this, even though I really need it. Also, it would greatly help me to have the ability to copy multiple pages of the website I’ve created in Elementor at once. Perhaps there is a plugin that makes this easier to do.

    Thanks again,
    Regards

    • This reply was modified 6 months, 2 weeks ago by darko1970.
Viewing 3 replies - 1 through 3 (of 3 total)