Size/ Movable of Error Box

NarendraK259256
Tera Contributor

I have a requirement where I need to change the size of alert error box or can we make it moveable, can anyone help me on that.

NarendraK259256_0-1780994997217.png

 

3 REPLIES 3

Tanushree Maiti
Tera Patron

HI @NarendraK259256 

 

refer: https://www.servicenow.com/community/developer-forum/how-can-i-change-the-alert-message-styles-on-th...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Ankur Bawiskar
Tera Patron

@NarendraK259256 

not possible

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

PoonkodiS
Giga Sage

@NarendraK259256 

Try this approach alternatively: (OnSubmit client script)

ServiceNow uses g_form.showFieldMsg('field_name', 'message', 'type'). The three parameters are
  • field_name: The database name of the field.
  • message: The text string to display.
  • type: The type of message ('info' for blue or 'error' for red)you can see the error under the field instead of seeing top of the form