i made simple form using bootstrap 4. thought built-in validator in bs4 usefull.
i made simple email form field:
<label for="email">e-mail cím:</label><br> <input type="email" name="email" class="inputtext"><br>
my problem that, when type false adress, comes english text. want make hungarian site.
do have idea can change text? googled hour , haven't found anything.
thanks gergo
taken how can change or remove html5 form validation default error messages?.
to set custom message validator error input, use
<input type="email" oninvalid="setcustomvalidity('invalid email!')" onchange="try{setcustomvalidity('')}catch(e){}" />
there change did not set locale (language) of page.
do adding lang
attribute <html>
tag, like:
<html lang="hu"> ... </html>
Comments
Post a Comment