Hello everyone,
Brass tacks:
When a site member ‘creates’ (write data), this is then collected to my custom permissions database (anyone can see data, but only authors can write/update).
How can that site member update the existing data values like update their phone number, nickname, and then simply press an ‘update button’, and the new information replaces previous values in the same existing value location WITHOUT creating another new item of data?
My application of use: A site user will go to a ‘private member page’ for authors only and input data into input elements from the author page to update some, or all of the previous data they made.
I am new to code, but I have been searching the API’s (update(), beforeupdate(), afterupdate(),
bulkupdate(), bulksave(), get(), ) and I feel like I am in a loop of understanding and can’t figure out how to do this very simple function.
When I look through the API , the examples don’t quite make sense to me or maybe my application? Would appreciate some clarification. Thanks everyone for your time reading.
Respectfully,
-Z