AnsweredAssumed Answered

jQuery in View item mode

Question asked by themos on May 17, 2016
Latest reply on May 20, 2016 by leif.frederiksen

Did anyone notice this?

If you try to access a form variable via jQuery when the form is opened in View mode, it comes back as undefined!

e.g. alert(NWF$('#' + txtSignature).val());

even though the variable has a value (works correctly in edit mode), and that value is displayed correctly as a form field in View mode?!

 

I tried executing the jQuery command in NWF$(document).ready, in NWF.FormFiller.Events.RegisterAfterReady, and even by itself, with the same results...

Outcomes