How to calculate some text fields with values and display total...

  • 2 September 2015
  • 4 replies
  • 1 view

Badge +1

Hi

 

How can i calculate som values in text field and display total in a View below?

12324i2DEED57DE5134550.png

 


4 replies

Userlevel 5
Badge +16

Hi Gonadn,

 

Do you mean that the first value has to be multiplied by 73 and the second by 71 and so on?

Badge +1

Hi 

 

Yes all fields have to be multiplied and display total....

 

reg

Adnan

Badge +6

Hi,

 

Please refer to the example in http://help.k2.com/onlinehelp/K2Appit/UserGuide/current/default.htm#Master_Detail_Form.htm

 

You need to create an editable list and add an expression to the sum control to calculate the total or anything else for that matter.

 

Kind Regards,

MA

Userlevel 5
Badge +16

Hi Adnan,

 

As MA pointed out, it's easier for you and more dynamic to create a list and add expression on it, otherwise you can add this expression on your total texbox:

 

14333iB14CF38AFC41F658.png

 

if you perform what MA mentioned, you won't have to stress your self with adding a long expression.

Reply