• https://smtpfree.freecluster.eu/

    Hi, I have created a demo site for showing, what I need is ,
    https://smtpfree.freecluster.eu/

    I have created a sign in form with forminator, when user sign in’s I need the email, password to be displayed on the pdf’s, I tried map the form with field’s but it isn’t showing , can you please suggest what to do ?

    also on the site menu button click on login , enter these credentials :

    email:[email protected]
    ps:123

    after that an account menu button will show up on the menu ,

    then go to the pdf page by clicking from the dropdown

    if you need admin credentials let me know

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author E2Pdf

    (@oleksandrz)

    Hi,

    If your E2Pdf Template connected to “Forminator” and “Forminator Form” – unfortunately there is no built-in functionality to output PDF download link on frontend outside “form” context as Forminator doesn’t have such functionality.

    You can try to build some PHP function which will retrieve submitted Entry ID by logged-in user and generate PDF download link as:

    $entry_id = 1; // It must be replaced with functionality which will get dynamic Forminator Entry ID for logged-in user
    echo do_shortcode('[e2pdf-download id="1" dataset="'.$entry_id.'"]');

    P.S. Keep in mind please that “password” will not be saved by default with Forminator submission so it could require to add some hooks to store it inside entry with some “hidden” field.

    As an alternative:

    You can try to build forminator form which will save “password” in some user meta key. It still will require some hooks added as by default Forminator will not allow to create meta data from “password” field.

    Create E2Pdf Template which will be connected to “WordPress” -> “Pages” / “Posts” (depending on which page type do you wish to output PDF download link) and use [e2pdf-user] shortcode inside that E2Pdf Template to output needed information.

    P.P.S: Storing not encrypted passwords in both cases is UNSAFE.

    Thread Starter rawahapool

    (@rawahapool)

    thank you for your reply ! what I want to ask is, I have a login form with forminator, when someone login through that form, I just want his email to be displayed in the pdf , is this possible through e2pdf and forminator?

    Thread Starter rawahapool

    (@rawahapool)

    In easy words how to display current user data in pdf?

    Plugin Author E2Pdf

    (@oleksandrz)

    Hi,

    1. You need to create E2Pdf Template and connect it to “WordPress” -> “Pages”.
    2. Inside E2Pdf Template use [e2pdf-user] shortcodes with needed keys, for example:

      [e2pdf-user key="user_email"]
      or
      [e2pdf-user id="current" key="user_email"]

    3. Place [e2pdf-download id="1"] shortcode inside WordPress Page. Where “1” is the ID of E2Pdf Template.

    We remain at your service.

    Thread Starter rawahapool

    (@rawahapool)

    Thank you! this was what I needed, you are really at our service!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sign In Form (forminator)’ is closed to new replies.