Recording form data into a database table

As of version 0.1.8 you have the ability to map form fields to write to an xPDO table like so

//Demo Table Mapping (Allows auto entry of data into an mysql Table (xPDO object)

Of course to write to an xPDO object you need to first create one. There are many guides around but Bob Ray has a great example here

The tableClass would obviously relate to an existing and included table (modUser or modResource etc.). The second parameter of the setDatabaseObjectForInsert method needs to contain an array which maps each form object to a field key within the table.