• Ogłoszenie:

Is there a way to force the keyboard to display only a "." c

Wszystko odnośnie tworzenia grafiki - obróbka, problemy, oceny.
Tworzenia Stron internetowych - HTML, PHP, MySQL...

Is there a way to force the keyboard to display only a "." c

Postprzez TeetharKehar 16 Mar 2023, 11:54

reklama
I have a form that includes a field for entering an IP address, as shown below:

<label for="Smart Tally IP:">Smart Tally IP:</label> <input id="stIP" name="stIP" size="15" pattern="^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" required="" type="text" inputmode="decimal">

However, when using inputmode="decimal", the omegle.2yu.co virtual keyboard may display a different character in place of a ".", depending on the user's locale. This can make it difficult to enter a proper IP address using the keyboard.

Is there a way to force the keyboard to display only a "." character, or alternatively, omeglz echat convert the localized "." character to a "." when the form is submitted? Or, is there a better way to handle this issue?
TeetharKehar
~user
 
Posty: 24
Dołączenie: 02 Sty 2023, 12:06



Powróć do Grafika & Webmastering

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 2 gości