Set a field value inside a catalog variable in client script

Elakkiya A
Tera Contributor

I am trying to set a help text value for a variable via the client script. How can I set a value for a field inside a catalog variable?

1 REPLY 1

Vanderlei
Mega Sage

Hi @Elakkiya A try, this

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


   if (isLoading || newValue == '') {
           return;
   }



g_form.addDecoration('field', 'icon-star', 'message');



}

Or you can try set the field always expanded to true