Help Text in ADD ROW Variable set button

Negha1
Tera Contributor

Negha1_0-1720098522955.png

I need to know where and how the Help text can be added in the Multi row variable set ADD ROW button

4 REPLIES 4

HrishabhKumar
Kilo Sage

Hi @Negha1 ,

Take a look at these community thread, with similar discussions, might be helpful :

https://www.servicenow.com/community/developer-forum/how-to-add-help-text-to-multi-row-variable-set/...

 

https://www.servicenow.com/community/itsm-forum/how-to-set-help-text-quot-more-information-quot-for-...

 

Thanks.

Hope it helps.

If my response turns helpful please mark it helpful and accept solution.

Negha1
Tera Contributor

Those 2 links are for vraiables,

 

But what i asked is for ADD ROW button.

 

Those 2 links not useful for me which i have checked already.

Hi @Negha1 ,

There is a unorthodox way to do it, you can use dom manipulation and add catalog client script on the variable set. First inspect the page and find the class of the "ADD" button, and then use that in the script.

 

function onLoad() {
    // Wait until the DOM is fully loaded
    setTimeout(function(){
        var addButton = document.querySelector('.add-button-class'); // Update the selector based on your inspection
        if (addButton) {
            addButton.title = "Click to add a new row to the multi-row variable set"; // Help text
        }
    }, 1000); // Adjust the timeout as needed to ensure the element is available
}

 

 

Thanks.

Hope it helps.

If my response turns helpful please mark it helpful and accept solution.