Jimbola Posted July 22, 2010 Share Posted July 22, 2010 Hi allI want to add field to the contact form but not make them required, I also don;t want to make the message field required either. In the contact-for.php file i hvae tried removing both these lines but then the email is missing the messafe, i have tried removing just the second line as well but no luck. elseif (!($message = nl2br2(Tools::getValue('message')))) $errors[] = Tools::displayError('message cannot be blank');Does anyone know how to not validate a message so the fields are not mandatory.All help is appreciated,J Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now