Hi There,
I need to remove the NAME field as required on the contact page (It should still be there but the form should send even if empty)
Could anyone guide me on this?
Thanks!
catalog/controller/information/contact.php
remove this
remove this
Code: Select all
if ((utf8_strlen($this->request->post['name']) < 3) || (utf8_strlen($this->request->post['name']) > 32)) {
$this->error['name'] = $this->language->get('error_name');
}
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
Hello and thank you for the help.
Quitoxic wrote on my request.
I removed the suggested code, but unfortunately, this will result in the following error:
The message in the contact form won't get send and the User will be stuck in a blank page.
Any suggestions? THX
REGARDS Jesper
Quitoxic wrote on my request.
I removed the suggested code, but unfortunately, this will result in the following error:
The message in the contact form won't get send and the User will be stuck in a blank page.
Any suggestions? THX
REGARDS Jesper
Who is online
Users browsing this forum: Bing [Bot] and 117 guests