Dear Wix Designers,
Currently, I’m trying to create a form through Wix Code, where my users can fill out a form and get a calculation of the entered information.
Below is my design / layout shown:
I’m very sorry that the page is in Danish. But I’m trying to get a calculation via ‘OnChange’. So if a customer or user changes the value of a dropdown, then a calculation will appear in the box called “Price” (TextInput).
And can these dropdowns communicate with each other: If I want a value of 2 in the first dropdown (value of $ 10 = $ 20) and 3 of the second dropdown (value of $ 20 = $ 60). Then there will be 80 $ in the last box (“Price”).
Should I have created a database? And is there a code that should be easy to code?