Forum

Thread tagged as: Question, Configuration, Forms

Perch Form Validation

Is there a way of switching off browser form validation but keeping the ability to pass through html5 attributes?

Use case: If I set define('PERCH_HTML5', false) then I can use <perch:errror> tags but I then lose my placeholders

Toby Martin

Toby Martin 1 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can use the standard novalidate="novalidate" attribute on your form tag.

Perfect, cheers Drew.