Change label name on form for referenced field?

RichGK1
Mega Expert

I've added caller.department.name to an incident form view but on the form it displays the label as "name"

I tried to change the label using configure > form design but even though it lets me change it and save, the changes do not persist.

Is this possible to do?

 

1 ACCEPTED SOLUTION

karimaria
Tera Guru

If you just want to change the label on the form you can useg_form.setLabelOf in a client script.

Example: g_form.setLabelOf('caller_id.department', 'caller.department');

View solution in original post

3 REPLIES 3

Allen Andreas
Administrator
Administrator

Hi,

You can try using an onLoad Client Script to set the label, like so:

g_form.setLabelOf('u_cmdb_ci_invoice.u_source_erp','Source');

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

Glad you found the correct answer..

Take care


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

karimaria
Tera Guru

If you just want to change the label on the form you can useg_form.setLabelOf in a client script.

Example: g_form.setLabelOf('caller_id.department', 'caller.department');