The CreatorCon Call for Content is officially open! Get started here.

Syntax for accessing jelly multi line text field in Processing script in UI page

ramireddy
Mega Guru

Hi,

In a UI page, I have a jelly mult-line text field control declared like this.

<g:ui_multiline_input_field name="dialog_comments" id="dialog_comments" label="Additional comments"

                      value="${jvar_comments_text}" mandatory="true" />

I am trying to access this value in "Processing script". I tried different syntaxes like below.

tmpcurrent.setValue('u_comment',dialog_comments);

tmpcurrent.setValue('u_comment',jvar_comments_text);

tmpcurrent.setValue('u_comment',comments_text);

But none works. Can you please tell me, what syntax i need to use.

1 ACCEPTED SOLUTION

ramireddy
Mega Guru

Got the syntax finally from this page.



request.getParameter("dialog_comments");



GlideDialog Window Example — ServiceNow ELITE.com


View solution in original post

1 REPLY 1

ramireddy
Mega Guru

Got the syntax finally from this page.



request.getParameter("dialog_comments");



GlideDialog Window Example — ServiceNow ELITE.com