PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Update Entry By Member ID

  1. I've created a front-end editor that is pulling in the information from the entry with code like this...

    $entries = RGFormsModel::get_leads(2);
    foreach($entries as $entry){
    $current_user_data['first_name'] = $entry['24'];
    }

    What is the hook to update the entry data for that form when someone submits it? I'm guessing I'll use the "gform_pre_submission" hook.

    Is this something easy to do?

    Posted 6 years ago on Friday June 29, 2012 | Permalink
  2. I found this on another post... this little plugin does EXACTLY what I was hoping to do and saved me hours if not MINUTES of coding it myself!

    Praise God and thank you Troy!
    http://software.troydesign.it/php/wordpress/adminsingle-gravity-forms-add-on.html

    (I hope the 1.7 functionality of editing entries on the front end is this easy to use and doesn't cause the work done using this plugin to have to be completely trashed.)

    Posted 6 years ago on Saturday June 30, 2012 | Permalink
  3. hi parkest, do you mind sharing how to step to do this? I am also looking front-end editor for existing entries.

    Posted 6 years ago on Saturday June 30, 2012 | Permalink
  4. heinthet,
    If you download the plugin above and install it then all you have to do is...

    1) create a page or post for people to hold a form.
    2) insert the Gravity Form you want to edit
    3) add "single="true"]" to the line that Gravity Forms pastes into your post/page.

    So this...

    [gravityform id="2" title="false" description="false" ajax="false"]

    Looks like this instead...

    [gravityform id="2" title="false" description="false" ajax="false" single="true"]

    And that's it.
    People that submit something from the form will then be able to go back to that same page and edit their submission. :)

    Posted 6 years ago on Saturday June 30, 2012 | Permalink
  5. is anyone can write step by step the method of adminsingle add-on?

    I didnt understand these...

    1-How the form understand which daha will be read and load the form?
    2-How the form understand which data's will be update in database?

    Posted 5 years ago on Wednesday January 9, 2013 | Permalink
  6. David Peralty
    Administrator

    Sorry, it is written by a third party and as such, you would have to ask the creator of that script to go through it step by step.

    Posted 5 years ago on Wednesday January 9, 2013 | Permalink

This topic has been resolved and has been closed to new replies.