I would like to ask if there is any way to validate my password to check if it contains at least 1 alphabet, digit and symbol using zend form validators.
From what I know, there’s only alpha, alphanum etc.: http://framework.zend.com/manual/1.7/en/zend.validate.set.html
Here is a custom password validator I use. You can pass an array of options for password requirements, and it can return a string explaining the password requirements based on your options.
Usage:
An example requirement string output by the validator looks like:
The validator:
Hope this helps someone.