CA Service Management

 View Only

 Rename search button

Jump to Best Answer
John Carmino's profile image
John Carmino posted Feb 22, 2023 10:07 AM

Hey guys,

Could anyone help me with this issue?

I would like to change the "name" of this button "Pesquisar(search)" in the form list_in

Where can I rename this button?

hermann1815's profile image
hermann1815 Best Answer

Hi,

i believe that the button label is set via JS for many masks. You would change it everywhere.

A possible solution is a function in list_in.htmpl that renames it:

function rename_search_button() {
jQuery('#imgBtn0 span').text('My Text');
}

Then call it in the body tag:

<BODY CLASS="list" onload='rename_search_button();'>

John Carmino's profile image
John Carmino

Hi @hermann1815 ,

Thanks for your help! It works perfect!

Regards,

John.

John Carmino's profile image
John Carmino

Okay