Sitecore’s Web Forms for Marketers contains a Password Confirmation complex field for accepting and validating both a password and password confirmation. The out-of-the-box configuration orders the required validators as:
Confirmation must be filled in
Password must be filled in
even though the fields are rendered on the form as:
While this isn’t a show-stopping issue for most people, you may want control over the display order of these validators.
There’s currently no way that I’ve found to change the ordering via content or configuration. If you’re looking to take control of the ordering, you’ll have to programmatically alter the ordering within the complex field code-behind. Looking at the library which provides the implementation to this field, it’s clear the order is reversed when setting the validation properties.
This code addresses the issue of required field validation ordering.
Field Location: /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Complex/Password-Confirmation