How to do the "autosum" in the text field using the Joget community?

Confluence User - 18 Jul, 2017

I have 3 text field, 2 for the user to enter the amount. And the total amount text field is a readonly which will display the total sum between two amount entered above. I really need help here.

forms;sum;textfield

4


18 Jul, 2017
confluenceUser
confluenceUser

Hi, you can try using the Calculation Field, otherwise you can also write your own custom javascript or jquery code in a Custom HTML of your form.

20 Jul, 2017
confluenceUser
confluenceUser

Hi Anders, thanks for answering the question. Currently, I'm using the Joget Community version which is the free version. And I don't have that Calculation Field feature. I tried using my own coding but it didn't work. Perhaps you can show me the coding and where to put the coding. Thank you in advance!

20 Jul, 2017
confluenceUser
confluenceUser

I believe there are several questions on doing JavaScript calculations here already if you do a search. For example, https://dev.joget.org/community/questions/24773040/calculate-the-duration-between-2-time-pickers---custom-html---javascript might help.

21 Jul, 2017
confluenceUser
confluenceUser

Thank you so much!!! It really helps!!! I have one more question that I posted which is the latest one. Maybe you could help...

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print