Skip to main content
Nintex Community Menu Bar

Store Client ID in JavaScript variable not defiend

  • Dec 26, 2017 8:54 AM UTC
  • 2 replies
  • 48 views
  • Translate All

Forum|alt.badge.img

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

2 replies

Forum|alt.badge.img+16
  • Dec 26, 2017 2:57 PM UTC

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

Translate

Forum|alt.badge.img+9
  • Nintex Employee
  • Jan 8, 2018 11:28 PM UTC

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());
Translate