Show Field Message for Catalog variable is coming in same line

Sanjay34
Tera Contributor

I have written the code to show field message for catalog variable on load on portal. After the San Diego upgrade the message is coming in the same line as variable. Please find the screenshot for the same. Using below code :

var msg = "The message which need to be displayed";
g_form.showFieldMsg('variable_name', msg, "info");
g_form.showFieldMsg('variable_name', msg);

"Self-Serve Firewall Policy Management" The request for Firewall Policy Configuration is already in place and is scheduled for

Variable name : Self-Serve Firewall Policy Management

Field message : The request for Firewall Policy Configuration is already in place and is scheduled for

 

Ideally the field message should in the below line as below. Help me to fix this issue.

"Self-Serve Firewall Policy Management"

The request for Firewall Policy Configuration is already in place and is scheduled for

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sanjay,

If you are sure it worked fine prior to upgrade and there was no script change after upgrade; raise a Hi ticket with ServiceNow.

Do share us the updates.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

I have identified like we have used hidden Rich label text variable just above the variable for which we have to show this message. If I am making active false this Rich label variable then it is show field message is coming as expected and if it is true then it is coming in the same line. Any help please...

Rich label text variable : Order Value 62

Checkbox variable order : Order Value 64 : For this we need to show field message on load.

Thanks & Regards

Sanjay

Harpreet Walia
Tera Contributor

Could you please share if there is any update wrt the issue? It seemed to be related to only checkbox variables and related messages.