• Resolved mikemcox90

    (@mikemcox90)


    Hi,

    I’m wondering if its possible to add a link to the PDF that can only be seen by the logged in user who has already submitted the form?

    I have user registration setup for Gravity Forms along side Gravity PDF to generate a PDF after the user has completed the form. So ideally I would like to add a link to the PDF on their account page.

    I’ve searched around and cant find out if this is possible by using the shortcode provided, as this seems to only work for notifications or confirmations.

    I feel this is possible, but maybe im just missing something?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    The current recommendation is to use GravityView and their Advanced Permission add-on to create a members area with a column for the PDF link.

    If you wanted to roll your own solution, using the [gravitypdf] shortcode with the entry_id attribute is the way to go. You would need to handle the database lookup for the correct entry IDs for the form/current user and then loop through the results, outputting the correct shortcode each iteration.

    Thread Starter mikemcox90

    (@mikemcox90)

    Thanks for the response!

    Think ill go with the second route, although im in over my head with how to do a database lookup for the entry ID and user, which then outputs the correct shortcode for each iteration – sure Google will have all the answers I need though.

    Thanks again!

    Did you figure out a solution to your question? I need to do the same thing and am hoping you can share your results.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add PDF download link to a users account page’ is closed to new replies.