Chris,
I am submitting a new topic as you requested. Is there an easy way to get the original field values from the database. Below is what I think the code should look similar to (obviously not proper syntax or function calls)
[php]
$entryID = 522;
$entryFields = GFFormDetail::get_entry_by_id($entryID);
$parameterString = '';
foreach ($entryFields as $entryField) {
//Get Population Array to look like [ field_values='parameter_name=val¶meter_name2=val' ]
$parameterString = $entryField->name . '=' . $entryField->value . '&';
}
//After for each remove last &
if ($parameterString != '') {
$parameterString = substr_replace($parameterString,"",-1);
}
//Now parameter String is ready for this function (this is the same as the GF hook just linked directly into the actual GF function itself)
return GFFormDisplay::get_form(
$id,
$display_title=true,
$display_description=true,
$display_inactive=false,
$field_values=$parameterString,
$ajax=false,
$tabindex
);
Thanks for all your help so far Chris - I think I am getting close it just helps with your insight into the Gravity Forms plugin itself and its functions because I have not wrapped my head around all of them.
Thanks!