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

How to get the selected value from the SelectBox in the catalog

shalini44
Tera Expert

Hello,

We have a requirement where the selected value from the SelectBox Catalog should be displayed in the incident. How can I get the selected value from the SelectBox?

Suggestions, tips would be greatly appreciated.

Thanks,

Shalini

1 ACCEPTED SOLUTION

Deepa Srivastav
Kilo Sage

Is g_form.getValue('variable_name') not working? Write a on change catalog client script of that variable n check.Hit like, Helpful or Correct depending on the impact of the response.



function onChange(control, oldValue, newValue, isLoading) {


    if (isLoading || newValue == '') {


          return;


    }


  alert(g_form.getValue('urvaraiblename'));




    //Type appropriate comment here, and begin script below


 


}


View solution in original post

7 REPLIES 7

Thanks Deepa! I am getting the selected value   and now I want to append it to the title of the incident that gets created.


Please mark the answer as correct to close the thread


Rohit Kumar
Giga Expert

It seems that you are using record producer and wanted to set value on incident.


Use:


current.fieldName_on_incident = producer.variableName;



Thanks


Rohit