Programming Guide > Programming Guide > Data Entry Error Handling > How You Can Use Data Entry Error Handlers > How You Can Change Values with a Data Entry Error Handler
Was this helpful?
How You Can Change Values with a Data Entry Error Handler
A data entry error handler can change almost any data it can access. For example, it can:
Change the error message to be displayed in a pop-up
Setting the error message to an empty string prevents display of the pop-up.
Reset the field's value
Resetting the value removes the error condition (unless you attempt to set a mandatory field's value to an empty value), but does not remove the error message. The handler generally removes the error message by changing it to an empty string. However, the handler may replace the message with a user-defined warning message.
Note:  Resetting the error field's value in a handler does not clear any pending SetValue events for the field.
Last modified date: 12/20/2023