Jump to content

html5 input field help


web_master

Recommended Posts

Hi,

 

I'm trying to learn html5 and I got a problem....

 

I want to use:

 

<input type="email" id="email" name="email" placeholder="xxx@xxx.com" required="required">

 

When I leave the form empty after submit, there is a message like: "Please fill out this field".

 

So is there any solution to this message become on other language? (and maybe the other messages works with form in HTML5)

 

Thnx in advanced

 

T

Link to comment
https://forums.phpfreaks.com/topic/250728-html5-input-field-help/
Share on other sites

  Quote

  Quote

So is there any solution to this message become on other language?

What?

 

The message is provided by the browser. If you don't like how the browser is doing that then you'll have to do it yourself.

 

what is the solution for that? (php... or other)

  Quote

hmmm.. If the person that visits your site is for example from Romania and prefers to have his browser in English, better leave it like that. English is the Internet language anyways.

 

The problem is that there is a people who speak Hungarian language, and many of are they don't know english language. I will try jQuery.

 

Thanx requinix, thanx TheKiller.

 

 

T

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.