concatenation

MIck11
Kilo Contributor

I am trying to concatenate two string fields and nothing seems to be working. Anyone have any idea

 

 

14 REPLIES 14

Community Alums
Not applicable

Hi Mick, 

Could you share an example of what you have tried? 

If you've made an error in any of the syntax, the community will be able to help you. 

Mike

Thank you so what its suppose take from 2 field and concatenate into the third field. 

 

var grade = g_form.getValue('u_grade');
var step = g_form.getValue('u_step');
var grades = g_form.getValue('u_grade_step');
grades= ('u_grade', 'u_step');

Hi Mick,

Use the below code

var grade = g_form.getValue('u_grade');
var step = g_form.getValue('u_step');
g_form.setDisplayValue('grades', grade+ ' ' + step);

Regards,

Deepankar

MIck11
Kilo Contributor

Thank you will try it .