I'm using select2 plugin so if I have the error on client side(html5) it shows me in a wrong position,because of the select2 plugin.(the position of the element)
I would like to disable html5 validation only for one specific element but leave the post validation.
$inputFilter = new InputFilter();
$this->add(array(
'name' => 'supplierName',
'type' => 'Text',
'attributes' => array('id'=>'supplierName','required' => true)
));
$this->setInputFilter($inputFilter);