Ihave successfully used the code in the discussion "Grabbing $_POST to simulanteously store in a second database" (http://www.gravityhelp.com/forums/topic/filling-gform_field_value-with-values-using-post) to take user input into a form and create a row in an external MySQL table (thanks to all who participated--it works like a dream!)
But now I have to go the other way--pull a row from that database and populate a Gravity Form so that association members can change their data (and then post it back..which just repeats the stuff in the paragraph above).
I can query the database and retrieve the record just fine, but for the life of me I can't figure out the next step or which hook to use (gform_pre_render or gform_field_value.)
If I have 18 fields to fill, do I need 18 separate gform_field_value functions?
(And last but not least, are the gform_field_value functions defined as part of the gform_pre_render or as separate functions? If so, how do they know which form's fields to fill in?)
Confused in Thornhill,
Lawrence