I have two input fields for a form. When I changed only one of the input fields, only one the changed input field is in the changeset? How do I put the NON-CHANGED input field into the changeset as well? put_change doesnt seem to works
What’s the problem you are trying to solve by doing so?
Technically the non-changed values are in the changeset via the data key. You are able to access them with the get_field function (see also fetch_field for completeness). The put_change function will only put an actual change into the changes key, otherwise it would be a lie to call it “changes”!