The Zurich release has arrived! Interested in new features and functionalities? Click here for more

HTML field Value

snehalkhare
Kilo Guru

Hi

I do have a record producer with variable reference type and other is html type.

What I want to do is to set the value of the html field as it is selected in the reference field.

How this can be done ?

Thanks

Snehal

3 REPLIES 3

snehalkhare
Kilo Guru

Reframing - I need the content of the KB article selected to be populated in the html field.


Hi Snehal,



Please refer the thread below. i hope it will help you.



Can the HTML type of fields be used to contain and display dynamic content while working with servic...



Thanks,


Harshvardhan


Hi Snehal,



You can set the value directly on the HTML field. Write an on Change script on your reference kb article field and add this script in it.



var kb = g_form.getReference('kb_variable');   // replace with your kb reference variable name


g_form.setValue("html_text_variable", kb.text);



If you require, you can also convert the call to a GlideAjax. Please try and let me know if it works



Thank You


Please Hit Like, Helpful or Correct depending on the impact of response