Forums

How to save a record?

rslyra 01 Mar, 2020
My form doesn't save.

I put a SAVE DATA block, check with Debug, but can't find the problem.

I create a hidden field to save the key.

Table: cat5_org
Key field: org_id.


some additional information












healyhatman 02 Mar, 2020
Data provider should be {data:} not just data
rslyra 02 Mar, 2020
Hi.

Correct it, but still dont save.

healyhatman 02 Mar, 2020
Where is your save data action? It's it in the right spot? And you also shouldn't have any spaces in your field names.
rslyra 02 Mar, 2020
Solved, kind of.

In update conditions I changed {var:read.data.org_id} for {data:id}. Now I save records, but doesnt work when ID=0, where I expect to insert a new record.

Used to work with CHF4.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger