Eureka. It works yay. The only issue that I am having now is having to get the arrays to show up below. The code below seems to have been depreciated. Is their another way?
foreach($lead_ids as $lead_id) {
/* load the lead information */
$lead = RGFormsModel::get_lead($lead_id);
$form_data = GFPDFEntryDetail::lead_detail_grid_array($form, $lead);
GFPDFEntryDetail::do_lead_detail_grid($form, $lead);
PDF_Common::view_data($form_data);
You can drop the $form_data = GFPDFEntryDetail::lead_detail_grid_array($form, $lead); and PDF_Common::view_data($form_data); lines back in just below the $lead = RGFormsModel::get_lead($lead_id); line in your template and you should be fine. They just aren’t added to the default templates (but you’ll still find them in all the examples).
You’ve been a great help thanks!