I'm starting using the code located in a post from 4 days ago (http://www.gravityhelp.com/forums/topic/displaying-entry-data-in-form#post-22281).
I have a form that I want to use as an edit form so that if the Lead ID already exists, the form will pre-populate with the data that is already in the database.
I have taken David Smith's code from http://pastie.org/1744975, added it to my functions.php file, set up a hidden field to capture the original Lead ID dynamically from the URL string, however it still isn't loading anything. I've tried a couple of different URL string syntax including http://www.mysite.com/edit-directory/?lid=12 and http://www.mysite.com/edit-directory/?/lid/12, however neither preloads the data in my form.
Any idea what I'm doing incorrectly?