AnsweredAssumed Answered

How to get column data and store in another column

Question asked by csrameneni on Nov 23, 2015
Latest reply on Nov 24, 2015 by csrameneni

Hello Friends,

 

I have a list with two columns, Column1 and Column2. Using Javascript, I would like to retrieve value from Column1 and store it in Column2. However I'm unable to retrieve the data from Column1

 

This is the code that I'm trying in form settings

 

NWF$(document).ready(function()

{

var str= document.getElementById('ctl00_ctl42_g_398579f0_843a_4947_a4c8_e8aa40eaa483_ctl00_ListForm2_formFiller_FormView_ctl10_80704280_5c12_45e6_aee3_0f994a85dc88');

NWF$('#'+PMValue).val(str);

});

 

PMValue is client javascript variable name.

 

Can you please suggest how to do it? Thank you

Outcomes