I am an admitted newb, and the Multi Record Loader tutorial seems straightforward enough, but I am not having success with it.
My Code:
I think I have things in the right spot in the settings side:
But when I try things out I get:
Parse error: syntax error, unexpected T_ENDFOREACH in C:\wamp\www\jobs\administrator\components\com_chronoforms\form_actions\custom_code\custom_code.php(17) : eval()'d code on line 10
My form name is CompRef. The table in the database with the actual data is jos_chronoforms_data_compref
I can save to the table successfully using a separate form. Thanks a lot in advance.
My Code:
<table>
<?php
foreach($form->data['CompRef'] as $detail);
?>
<tr>
<td>Name:<?php echo $detail['name']; ?></td>
<td><a href="index.php?option=com_chronoforms&chronoform=CompRef&token=<?php echo $detail['cf_uid']; ?>">Edit</a></td>
</tr>
<?php
endforeach;
?>
</table>
I think I have things in the right spot in the settings side:
But when I try things out I get:
Parse error: syntax error, unexpected T_ENDFOREACH in C:\wamp\www\jobs\administrator\components\com_chronoforms\form_actions\custom_code\custom_code.php(17) : eval()'d code on line 10
My form name is CompRef. The table in the database with the actual data is jos_chronoforms_data_compref
I can save to the table successfully using a separate form. Thanks a lot in advance.