Skip to main content
Nintex Community Menu Bar

How to read a value of multi line text box using the javascript. NWF$

  • July 4, 2017
  • 5 replies
  • 13 views

Forum|alt.badge.img+4

How to read a value of multi line text box using the JQuery. NWF$

I tired the below:

var varjsMultiLine= NWF$('#' + jsMultiLine).val();

But on Custom Javascipt handler it always return empty values. for the varjsMultLine

Help;

5 replies

Forum|alt.badge.img+14
  • Scholar
  • July 4, 2017

it should work

205249_pastedImage_1.png

what's the event you want to read it on?


Forum|alt.badge.img+16
  • July 5, 2017

Could you share your form?


Forum|alt.badge.img+4
  • Author
  • July 10, 2017

this works well only when havin multi line as plain text type. not as Rich text box.


Forum|alt.badge.img+4
  • Author
  • July 10, 2017

This works for plain text multi line textbox.


Forum|alt.badge.img+14
  • Scholar
  • July 10, 2017

you haven't mentioned you want it for reach text  ...

for reach text following should work

note however, it will include all the HTML formatting tags, not just plain text.

NWF$('#'+txtbox).parent().siblings('input').val()