Existing database record should be overwritten with data from form data, except if form data is empty. How can this be achieved?
It should not be on an record. but the same record.
a PHP action with Events behavior, check if the form data is not empty and return "save" if so, your event name should also be called "save", inside that event you can add your Save Data action
And data will be overwritten or a new record added to the table, which is not what i need?
if you need to update data then your Save Data should have a "WHERE statement"
You need to login to be able to post a reply.
