0

I have form with input field, and each field have some data error option.

When I submit form without selecting any input field, its showing default HTML-5 form validation message instead of Materialize CSS validation.

How can I hide this HTML-5 form validation message and show Materialize CSS form validation message on form submit.

Update: Explaining the problem in detail

Is there a way to achieve this using materialze itself. So that we don't have to manually add invalid class to input element, if the value is invalid on submission of form.

Community
  • 1
  • 1
Piccaza De
  • 459
  • 5
  • 15
  • Possible duplicate of [Disable validation of HTML5 form elements](https://stackoverflow.com/questions/3090369/disable-validation-of-html5-form-elements) – Jan Peša Jul 31 '18 at 09:22
  • I am looking for a solution for this through Materialize CSS itself. – Piccaza De Jul 31 '18 at 09:48
  • what do you mean by materializecss validation?? in my knowledge materialize don't provide its custom validation – Deepak Verma Jul 31 '18 at 10:38

0 Answers0