I want to have a save data action where only the fields that have been filled in will be updated. So naturally in the override I put
So what I've had to resort to doing is
field:{data:field}/-However on one website I just get "Error:0" (super unhelpful). On another site in the debug under the info section for the save data action I get "field has been skipped" but then it goes ahead and updates the value with an empty string anyway.
So what I've had to resort to doing is
field:{data:field/(var:read_data#.model.field)}
Hi healyhatman,
It's a workaround but you could read the saved data record, update the changed fields and then re-save it. That way you do have full control.
Bob
It's a workaround but you could read the saved data record, update the changed fields and then re-save it. That way you do have full control.
Bob
Yep that's what I'm doing, at the bottom of my post - read the data, and use the existing data as the default value if the field's form data is empty.
This topic is locked and no more replies can be posted.