× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

a form as users enter numbers

3 days 8 hours ago - 2 days 9 hours ago #10351 by Lusy Demco
a form as users enter numbers was created by Lusy Demco
Hello,

How can I display the average of multiple numeric fields dynamically on a form as users enter numbers, using JavaScript?

Best Regard,
Lusy


hmfusa app
Last edit: 2 days 9 hours ago by Lusy Demco.

Please Log in or Create an account to join the conversation.

3 days 3 hours ago - 2 days 8 hours ago #10352 by Monica Cole
Replied by Monica Cole on topic a form as users enter numbers
Hello,
To dynamically calculate and display the average of multiple numeric fields using JavaScript, you can create an HTML form with numeric input fields and a span to display the average. Add a JavaScript script that listens for input events on these fields, sums the values, calculates the average, and updates the span with the average value. This way, the average is recalculated and displayed as users enter numbers.
summit health patient portal
Last edit: 2 days 8 hours ago by Monica Cole.

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.