Hi,
I have created a site in Opencart, but want to add some validation with the E-mail address when a customer registers as a user.
Can anyone please tell me what the correct is that I should look at?
Is it in: controller -> account -> register.php
and then this code:
if ((utf8_strlen($this->request->post['email']) > 96) || !preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $this->request->post['email'])) {
$this->error['email'] = $this->language->get('error_email');
Or is it somewhere else?
I hope someone can help.
Thank you
Who is online
Users browsing this forum: No registered users and 3 guests