Skip to main content

Hi there,

I set up a small form where a button is used to popluate a calculated value (ctlCalculate) to a textfield (ctlTextbox). The button uses the following function:

NWF.FormFiller.Events.RegisterAfterReady(function () {
 NWF$(document).ready(function() {
  var calculateControl = document.getElementById(ctlCalculate);  var textboxControl = document.getElementById(ctlTextbox);  textboxControl.value = calculateControl.value; });
});

This works perfectly fine.

But I can't use the value of the textfield for further calculations if it's populated via the button click. (like it's still empty)

If I enter a value into the textfield manually my other calculations work just fine.

 

Any hints or other methods how I could publish the calculated value to the textfield AND use it for additional calculations afterwards?

 

Thanks in advance.

Be the first to reply!

Reply