hi all,
I have a page at
http://www.youngsbicycleshop.com/298.html that has an eform. It also allows the user to click add more bikes using the dynamicForm plugin for jquery. This plugin allows you to inject more form fields into a form via javascript. My question is how do I get the eform report to be dynamically generated to reflect all of the added form fields that have been added to the dom. My sense is that I need a snippet to gather all of the form fields into an array, and then dynamically turn them into placeholders that are output onto the report without first.
I have seen Dimmy’s populate report snippet:
<?php
function populatereport( &$fields ){
foreach ($fields as $key => $value) {
if($fields[$key]){$fields[$key]= $key.": ".$fields[$key];}
}
return true;
}
?>
which I assume is a starting point. Any help would be greatly appreciated.
-Noah