I retrieved the form data from the quform database through a foreach statement and populate an associative array with the data. When I printed the array all the data is there for example;
‘iphorm_1_1’ => ‘David’
The array name is $formVariable
then I transfered the $formVariable array to the $form
$form->setValues($formVariable);
It’s not working. Can you please help? What I’m I missing?
I got it working, thanks for you help. I have another question. Now That I can populate a form based on one field. How can I pass the field from one form to the other. I have a search form that the user will input an id. I want to pass the id to my larger form and lookup the id to fill in the form data.