• Resolved markofapproval

    (@markofapproval)


    G’day team,

    I’ve looked everywhere and can’t find any documentation on how to edit a gravity from from the front end. I see the option is there under advanced (under feeds) but without digging into the API, I have no idea how to utilise it.

    I assume you pass the Gravity form ID inside the query string on a single template that contains the form, but I’m not sure what the name of the GET paramaeter would be.

    I tried ?fid=2

    But that didn’t work.

    Could somebody shed some light on this? All other posts on this topic have been closed without an answer.

    Many thanks in advance,
    Mark.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Actually its already written in the feeds setting page: (only works on singular template)

    Make a single template (Pods template, not page template using PHP & all), give it a name and throw the gravity form shortcode (eg: [gravityform id=”1″ title=”false” description=”false” ajax=”true”]).

    Now go to Pods Admin > Edit Pods > *Edit under the pod you want* > Auto Template Options and do the necessary i.e. link “single item view template” to the one just created.

    Now when you check any pods value either from backend or by pointing the address to that particular pods, you’ll get the Gravity form with values ready to be edited & updated.

    I went one step further and made a Pods page and called the template so I get a permalink that can be hooked on the menu.

    There maybe a simpler technique that I am not aware of. Would love to hear from Pods dev team.

    • This reply was modified 4 years, 11 months ago by coderunknown. Reason: Pods template

    Thank you for posting this. It is exactly what I am try to achieve.
    I followed your directions, but when I open a pod entry, I get a blank gravity form.
    Is there a way to actually see the data in each field so it can be edited?
    Maybe I missed a step.
    Thanks for sharing!

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    For customizing the item being edited and whether to populate the form data into the form fields — you can see this doc page for a useful example: https://docs.pods.io/code-snippets/using-pods-gravity-forms-addon-to-edit-specific-id/

    @workwithadrian We do have a few options in the Gravity Forms > Edit Form > Feeds > Pods section that lets you choose to allow an item to be edited. Make sure to use the current post and mark the feed to prepopulate too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I edit a pod from the frontend?’ is closed to new replies.