Skip to main content

this issue is when i set variable to field there are no changes in field render and also the javacript get error variable undefiend . 211796_pastedImage_1.png

then when alert the value using alert( NWF$("#" + varStartDate)).

211797_pastedImage_2.png

211798_pastedImage_3.png

If you want to show the value, you should use >>> alert( NWF$("#" + varStartDate).val())


Just tested this out, and Fernando Hunth‌ is correct. I used console.log, but it should not be any different using alert();

console.log(NWF$('#' + varStartDate).val());

Reply