Hi,
Is there an easy function call in your library to redisplay an entire form with all fields populated with the database contents just submitted?
My scenario is I'm using a form to capture payment info to be sent to Authorize.net. I'm sending code to them using the post submission hook, so I'm still on the original form page after submit, but of course when you submit then Gravity Forms pops up the confirmation message so the form is now gone. However, Authorize.net can reply there's an error with a field, in which case the form needs to be redisplayed filled in so the user can correct that error.
If there's no quick call to retrieve the form data, do you have a handy code snippet that reads the database to populate a form with data for a particular lead ID?
I supose I could write javascript to trap all the errors before form submission but since authorize.net traps errors for me with no codiing on my part it's much easier to just display their response and give the user the form again to correct.
Of course, hopefully someday Gravity Forms will allow us to create richer custom error trapping from the GF UI when creating forms.