- Rename the Primary key column in the table to e.g. cf_id
- Add a Custom Code action before the DB Save action to unset the value taken from the URL using the code below.
<?php unset($form->data['id']); ?>
The DB Save action has been added to the form and is configured to save to the correct table.
The table has a numeric primary key (it will if you used the ChronoForms 'Create table' icon). It must be an integer and not a string.
If you have added or renamed any columns in the database table, please click the 'Clear cache' icon in the Forms Manager toolbar to update CF's records.
The form input names you want to save match the table column names **exactly**
None of the input or column names contain spaces, dashes, or other special characters except for underscore '_'
The input and column names all start with a letter.
Any array data from a Checkbox Group or a Multi-Select dropdown has been converted to a string. Use a Handle Arrays action before the DB Save action to do this.
If you are using a Model ID then make sure that all the data is stored in the correct sub-array of $form->data for example $form->data['my_model_id']