Password Double Field Validation Routine
View the source...
This script validates typical double field password entries for validity, number of characters, maximum and minimum and also for script specified invalid characters. It validates the entry if both fields match and they meet the chosen and other selected criteria. Highly documented internally.