AnsweredAssumed Answered

javascript concatenate value form and sum

Question asked by Poyato on Jun 3, 2015
Latest reply on Jun 4, 2015 by JR_Johnson

I have a form with many values in filed.

 

2015-06-03 16_49_01-ExecutarRequisicao_330505.jpg

I need a PAM flow caught these values (2,3,3,2,2,3), and sum all. I'm not getting contatenar the string 'qntdMaquinas' with the index value 1,2,3, etc to 'n'.


Example:

 

Process.sum= 0;
while (existVM)  {
{
  Process.count = (Process.form."qntdMaquinas"+i)
  if(count == undefined){ break; }
  Process.sum=+ Process.count 
}

 

This was an example, which this not working.

Outcomes