AnsweredAssumed Answered

Using Javascript to get the value of a calculated value control

Question asked by glamp01 on May 14, 2015
Latest reply on Aug 12, 2015 by jwiskema

Is it possible to get the value of a calculated value control? I set the control to store the Client ID in a JS variable (jsTestVar). The following is my code:

 

NWF$(document).ready(function(){    

  var testVar = NWF$('#' + jsTestVar).val();

});

 

The testVar variable returns a blank value even though the form preview displays a value in the calculated value control.

Outcomes