Notifications

9 views

Symptoms


The following client script works on the platform side but does not work on the Service Portal

g_form.showFieldMsg('field_name', 'message');

Release


All

Cause


On the Service Portal side, a third parameter is required when using the showFieldMsg() method. 

Resolution


Supply the third parameter in the method, known as the 'type' of message.  Specify either of the following values

  • 'info'
  • 'error'
  • 'warning' 

For example,

g_form.showFieldMsg('field_name', 'message', 'info');

 

Article Information

Last Updated:2019-03-03 20:09:03
Published:2019-02-27