I need to run a save/update query but only update those fields that aren’t empty. My form contains a FILE field and if I don’t upload any file then when the save() is executed this field goes blank even if previous data is presented so how can I save/updated but onlye the fields with content to update?
Cheers and thanks in advance
In your model you need to previously test if the data is empty or not and unset it in this case.