Displaying errors on an xpage

How can one control the sequence of error messages displayed on an xpage using the Display Errors control? I have created an xpage with several required fields and I added the Display Errors control and every thing works except the errors are listed in what seems to be an arbitrary order. The order is consistent but I can’t seem to find any documentation on controlling the sequence of the messages. They are not in page order which is what I would prefer.

Subject: Not sure if this is the best solution

I’m afraid I can’t help you on controlling the order speciically using the ‘display errors’ control, but you can use the ‘display error’ (singular ‘error’) control to get you what you need.

This control will not display all errors on the xpage, but it will just display 1 field error. So you would create a ‘display error’ control for each field and have them appear in the order you want. Then you use some css to give them the visual presentation you want.

If you do find out how to sequence the ‘display errors’ control, I’d be interested in that myself :slight_smile: