Can I add help/instruction text above a field in service portal?

robhaas
Tera Contributor

I'm wanting to add help/instruction text above a column in service portal. I know I can set a hint on the label, but that doesn't work for what I need. For instance, the question below would be the help/instruction text. Running and walking are column labels, where the column would be under each. 

How many hours are required for the following? (per month)

Running

Walking

 

As it stands right now, I can't figure out if this is possible. I just want the text on the screen above these fields. I also checked to see if there is a column type of 'label' where you can enter just a label with no column, but don't see anything like that either. Anyone have any thoughts?

3 REPLIES 3

djohnson1
Mega Guru

Robhaas,

 

       You can add an HTML widget, format with the required text, and place above the columns as needed. 

 

find_real_file.pngfind_real_file.png

 

Thanks, 

 

Derrick Johnson

robhaas
Tera Contributor

Hrmm... I'm using ng-repeat to display my columns, so I don't think I can get the placement where I want with that. I tried creating a ui script to simply hide a column, but show the label. It works, but not in service portal. I tried an on load ui script, but service portal doesn't like the .style.

 

var gr = g_form.getElement('u_corp_data');
gr.style.display= 'none';

djohnson1
Mega Guru

Robhaas, 

 

    Can you send a screenshot of the form displayed on the portal page as well as the widget's configuration.

 

Thanks, 

 

Derrick Johnson