Example
If i change email field Input type to type="email"
<input type="email" name="email" value="" placeholder="{{ entry_email }}" id="input-payment-email" class="form-control" />
I receeive this error after subit form
Code: Select all
"SyntaxError: Unexpected token < in JSON at position 0"
Which is this line:
Code: Select all
if ((utf8_strlen($this->request->post['email']) > 96) || !filter_var($this->request->post['email'], FILTER_VALIDATE_EMAIL)) {
$this->error['email'] = $this->language->get('error_email');
}
I really need to change this inputs, so when the costumer is accessing from an mobile device, it would display the numeric keyboard
Can someone help me?