Write data to different googlesheets columns depends on content in unput field

Hi there. I’m just new in this great tool, so i have a little question.
Case: I Have a google sheet as data sourse. THere are several columns - content1,content2,content3.
In the app I have an input form with fields: “Content” and “number”. In addition I have a button “save”
Task: I want to write data from the field “Content” to column "content1 when I press “save”, if in field “number” I put the value = 1. If the value 2, data should be saved into content2 column.

Thanks in advance.

Checkout this tutorial, it’ll show you how to work with forms and google sheet - How To Build Dynamic Forms - YouTube