Forums

Bad Submit with profile

ssuria 13 Oct, 2009
I have a form connected to a table.
Only registered users can submit data to this form.
I have activated "profile" with field user_id connected.
When registered users want to see the submmited data, they are able to see the first record, but if they send the form again along with fixed data, the form makes a insert not update data and they can only see the first record data, not the second, and this is a mistake.
GreyHead 13 Oct, 2009
Hi ssuria,

You need to include the cf_id in the form as a hidden field. The the existing record will be updated.

Bob
ssuria 13 Oct, 2009
Thanks Greyhead.

I did not write {cf_id} at the form. When I wrote in the hidden field "value={cf_id}" worked fine.
This topic is locked and no more replies can be posted.