Hi there, I've been using FormItBuilder without much problem until I've wanted to start adding data to a table.
I have carefully followed
http://bobsguides.com/custom-db-tables.html tutorial and set up the package and table required.
However, I've hit a stumbling block in the following code from the FormItBuilder documentation:
//Demo Table Mapping (Allows auto entry of data into an mysql Table (xPDO object)
$o_form->setDatabaseObjectForInsert('tableClass',array(
array($o_name,'name'),
array($o_address,'address'),
array($o_country,'country'),
));
I have amended as follows:
$o_form->setDatabaseObjectForInsert('table_name',array(
array($o_name,'name'),
array($o_email,'email'),
array($o_mobile,'mobile'),
));
Changing the tableClass to the table name - but I don't think this is correct. Have tried various other parameters but without success and need to get this resolved.
I'm sure its quite straightforward, but its a pretty big leap for me!