Hi,
I have a rather simple question: In my form the user inputs to a textbox the duration of an activity in minutes, and I would like to store it in the DB table as hours. So simply to divide the user's input by 60 and preferably round it to 2 digits. Is there a simple way to do that? I tried to play a bit with JS code but but I'm not sure how to refer to the textbox, or change it.
Thanks!
I have a rather simple question: In my form the user inputs to a textbox the duration of an activity in minutes, and I would like to store it in the DB table as hours. So simply to divide the user's input by 60 and preferably round it to 2 digits. Is there a simple way to do that? I tried to play a bit with JS code but but I'm not sure how to refer to the textbox, or change it.
Thanks!