×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
a form as users enter numbers
Lusy Demco
New Member
Posts: 8
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
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.
Monica Cole
New Member
Posts: 1
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
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