getValidationMessageIds()

This method returns an array of DOM identifiers which represents any validation messages currently in effect for this control. There is one ID for each message pane in the form. Useful in situations where the messages need to be referenced for accessibility purposes.

If null, then there are currently no validation errors reported against this control. If the array is non-null but empty, this signifies that there are errors, but no messages are displayed because the Form does not contain a Messages pane.

Method Return Value:

  • String