Hello, I'm trying to use ChronoForms V8. I've set up a test form that reads a record from the aaa_test_cf table, which contains the fields id - campo1 - campo2 - campo3. I have 4 textareas with the same names as the fields that take values from the first record of the table. On submit, I added the save data action, and in Behaviors, I added:
modify data source
id={data:id}
campo1={data:campo1}
campo2={data:campo2}
campo3={data:campo3}
Primary key
id
Table fields
campo1 campo2 campo3
When I save the record, I get the error "Duplicate entry '11' for key 'aaa_test_cf.PRIMARY'". If I remove id={data:id}, it saves a new record with a sequential id instead.
How can I force an update of the record?
modify data source
id={data:id}
campo1={data:campo1}
campo2={data:campo2}
campo3={data:campo3}
Primary key
id
Table fields
campo1 campo2 campo3
When I save the record, I get the error "Duplicate entry '11' for key 'aaa_test_cf.PRIMARY'". If I remove id={data:id}, it saves a new record with a sequential id instead.
How can I force an update of the record?