How to hide Variableformatter "Label"

Meloper
Kilo Sage

Can we Hide this Lable over a Formatter?

Meloper_0-1728456097804.png

 

1 ACCEPTED SOLUTION

Hi @Meloper ,

 

Okay if you just want to hide the the label, then you can achieve via On load client script where we need to do a DOM manipulation.

See below Code to achieve this -

 

function onLoad() {
    var headerElement = document.querySelector('div.veditor_header');
    if (headerElement) {
        headerElement.textContent = "";
    }
}
 
 
You can write this code on On Load Client script on sc_req_item and sc_task table or any other table where you are using this formatter.
 
MoinKazi_0-1728468518244.png

 

 

Output:

MoinKazi_1-1728468563355.png

 

 

Please mark my answer as correct and helpful if it works for you.

 

Regards

Moin

 

View solution in original post

4 REPLIES 4

Moin Kazi
Kilo Sage
Kilo Sage

Hi @Meloper ,

 

You can go to Form designer and remove formatter from "Content section" via drag and drop.

 

Please mark my answer as correct and helpful if it works for you.

 

Regards

Moin

I don't understand the answer, if I do that the whole formatter is gone, isn't it?
I just want to hide the label

Hi @Meloper ,

 

Okay if you just want to hide the the label, then you can achieve via On load client script where we need to do a DOM manipulation.

See below Code to achieve this -

 

function onLoad() {
    var headerElement = document.querySelector('div.veditor_header');
    if (headerElement) {
        headerElement.textContent = "";
    }
}
 
 
You can write this code on On Load Client script on sc_req_item and sc_task table or any other table where you are using this formatter.
 
MoinKazi_0-1728468518244.png

 

 

Output:

MoinKazi_1-1728468563355.png

 

 

Please mark my answer as correct and helpful if it works for you.

 

Regards

Moin

 

Thank you 🙂

but it is not working.
i need a Solution for the Backend (ui Type = Desktop)
seems to be that the code is not running:

Meloper_0-1728548207663.png

I also tried it with inactive isolate script