To whom it may concern,
I am writing PHP code that is hooked to "gform_pre_render" to populate a gravity form with data that I am getting from the database. This data is actually a gravity form entry of a separate gravity form.
I am finding it difficult to find information on how I can populate list fields.
I am sure that you are aware of the format in which data is stored for lists. Please use the following as an example "a:2:{i:0;s:6:"Test 1";i:1;s:6:"Test 2";}". Given that I have that raw list data - how can I populate a field list which will reflect it?
Thank you for all your help and support.
Kind regards,
Erika