I have a page that has an number input, then a radiobutton group with 3 options called ADM,WC, and SC. I have 3 columns in my database that match the names of the radio buttons. Using a submit button, how do i make the radiobuttons selection select which column input1 gets entered to? Thanks
Hi,
If you use a dataset to write data to your collection, you could add a data hook to check which radio was selected and set the value to the relevant column.
If you’re using wix-data.update() you can have the same logic on the client side.