Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

SFU​.showError()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use showError() method to show an error message to the user.

Syntax

SFU.showError(title, message [, callbackHandlerFn [, details]]);

Parameters

Parameter

Description

title

Title of the message

message

Message to display to the user.

callbackHandlerFn

A function that is triggered after the error message is closed.

details

More details about the message.

Note: You can include HTML content in the title, message, and details.

Return Value

None.

Example

// Show the error message to the user.

SFU.showError("Validation Error", "Please verify the values before you save the form.",

function()

{

//enter code to perform actions after the error message is displayed.

},

"Age is not specified.<br>Date of joining should be earlier than today's date.");

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in