Not display catalog item label in a variable set

Luis Roman
Kilo Guru

How can I save a multi line text in a catalog item with a Null or Blank question as shown in the picture in a variable set in a catalog item? When I tried to save the catalog item as shown in the picture below it says that the question field is required. I cannot bypass it. Is there a trick or way to blank it out. I do not want to display the question below the multi line is a display as show in fig.2. 

find_real_file.png

Would like to display the information as shown below.  Without the question label. 

Fig.2

find_real_file.png

Your expert advise or guidance appreciated. 

Luis Roman 

1 ACCEPTED SOLUTION

Hi @Luis Roman 

Steps:

1. add question for Multiline text.

2. create onload client script and add 

g_form.setDisplay('c_info', false);

//or

g_form.setLabelOf('c_info',''); 

 

If my response is helpful to you, please mark as Correct Answer/Helpful

Please check and let us know.

Thanks 🙂

 

Thanks,
Shakeel Shaik 🙂

View solution in original post

9 REPLIES 9

Hi @Luis Roman 

Steps:

1. add question for Multiline text.

2. create onload client script and add 

g_form.setDisplay('c_info', false);

//or

g_form.setLabelOf('c_info',''); 

 

If my response is helpful to you, please mark as Correct Answer/Helpful

Please check and let us know.

Thanks 🙂

 

Thanks,
Shakeel Shaik 🙂

Hi @Luis Roman 

 

Please check and let us know.

Thanks 🙂

Thanks,
Shakeel Shaik 🙂

Thank you very much.  ????

Smudge, below is the multi line variable. Maybe what I need to do is a script to BLANK out the label. However, not sure because my Service Central knowledge is limited. 

find_real_file.png

Hi @Luis Roman 

 

Variable in Variable set:-

find_real_file.png

 

Create Catalog Client script:-

find_real_file.png

 

 

If my response is helpful to you, please mark as Helpful

Please check and let us know.

Thanks 🙂

Thanks,
Shakeel Shaik 🙂