• Resolved imahir518

    (@imahir518)


    I’m using the free version of the Form Maker plugin to create form for my website and I need to know if there is any way to use a third partner Snippet Short Code plugin in Admin Email Option (Administrator and Sender Email body)?

    Does Form Maker has Snippet Short Code to download and used?

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @imahir518,

    Thanks for your inquiry.

    Dear friend, we are using TinyMCE editor for the Email body, you should test whether that plugin works with the editor or not.

    Thread Starter imahir518

    (@imahir518)

    Hi @zhannak
    thank you for your inputs.
    the snippet plugin shortcode works on their TinyMCE form and I can insert it to the TinyMCE email option page. But I can’t use it with the Form Maker Email Option TinyMCE page.

    I’m using XYZ PHP plugin.

    Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @imahir518,

    I am extremely sorry to get back to you this late.

    If I understood correctly, you want to use “XYZ Snipped PHP code” shortcode in “Custom Text in Email For Administrator” and see the result in receiving email.

    Now we don’t have that function, but maybe we’ll add it in future updates.

    But we can provide a solution for this.
    So, please connect your website files with FTP and open th file wp-content/plugins/form-maker/frontend/models/form_maker.php, search script_mail and replace the first finded row to
    $new_script = wpautop( do_shortcode( html_entity_decode( stripslashes( $row->script_mail ) ) ) );
    and the second one to
    $new_script = do_shortcode( html_entity_decode( stripslashes( $row->script_mail ) ) );

    Please see the video recording here.
    Please keep me updated on the results.

    Thread Starter imahir518

    (@imahir518)

    Zhanna Khachatryan,
    Thank you so much. It works.

    Plugin Support Zhanna Khachatryan

    (@zhannak)

    Awesome @imahir518!

    Thanks for getting back to me.

    Stay safe and healthy πŸ™‚

    Thread Starter imahir518

    (@imahir518)

    What I’m facing now is this:
    I’m trying to call a form created by Form Maker from the XYZPHP snippet code and the form does not display on the webpage.
    Here is what i have in XYZPHP Snippet code:
    <?php
    echo”[Form id=’10’]”; //[Form id=’10’] is the form ID created by Form Maker snippet code
    ?>
    the output on webpage is: [Form id=’10’], no fields or anything else is displayed when call the form.

    Is there any way I can call and display the [Form id=’10’] form on webpage when called from XYZPHP Snippet code?
    Please let me know and many thanks.

    • This reply was modified 5 years, 5 months ago by imahir518.
    • This reply was modified 5 years, 5 months ago by imahir518.
    Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @imahir518,

    I am very sorry to get back to you late, the post was marked as resolved and I have not checked it, sorry.

    In the snippet, you should use the php function to show the form or use this syntax: echo do_shortcode("[Form id='10']");

    Please let me know if you’ll have any further inquiries.

    Thread Starter imahir518

    (@imahir518)

    Thank you.
    Works!!!!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Snippet Short Code’ is closed to new replies.