Write back to database

I have the following codeless modules setup

What i am trying to do is replace the hardcoded items of Payee, Cost, Diner and Meal with the details input into the fields and add to the database table ‘Meal’ when the Save Meal button is clicked

I have set the Value Logic of the Payee field to ‘mealPayee’ but it does not work, so i have obviously misunderstood how to capture this input and post back to the db.
image

Hi @Peter_Wilson ,

You try to get data from a different data model

Could you please update your code and try one more time?

Regards, Andriy

Thank you so much Andriy. That was exactly the issue and solved it for me.