Added support for wildcard. Added form validation.