Hi guys,
I’m newbie in coding.I want to create input box with user input number ( from 0-28) & the result (percentage) displayed in another box. For example if user type 5 and the result 17.85% shows in another text box. The formula : user input number/28x100%.
I really appreciate for your help.Thanks
On change of the input you can run your equation and then set the value of the next input to the returned value
See the api documentation for examples and more reading to learn
https://www.wix.com/velo/reference/$w/textinput/onchange
https://www.wix.com/velo/reference/$w/textinput/value
if you do not want this calculation to happen on every change of the input, you could alternatively use a button to trigger the calculation to happen as well.