Project

General

Profile

Feature #7279

Feature #7894: Add more HTML5 input types

WLineEdit add support for HTML5 email type

Added by Stefan Ruppert over 2 years ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/11/2019
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I'm wondering why current implementation of WLineEdit has no support for HTML5 input control?

Today most of the users have HTML5 cable browsers... I don't like to add w WRegExpValidator() with complex regexp if the browser already has an immplementation!

Regards,

Stefan

#1

Updated by Roel Standaert over 2 years ago

Probably just because we never got around to it. Do note the difference between Wt's validators and the specialized HTML elements, though: Wt's validators (also) do server side validation, though in the case of email addresses you usually just want to verify them by sending a verification email.

#2

Updated by Stefan Ruppert over 2 years ago

In the first place I was wondering, secondly I also want to check it on server side...

What about providing an WEMailInput() widget class by wt which hides the WRegExpValidator()?

Regards,

Stefan

#3

Updated by Roel Standaert over 1 year ago

#4

Updated by Roel Standaert over 1 year ago

  • Description updated (diff)
  • Parent task set to #7894
#5

Updated by ruben kindt 11 months ago

  • Assignee set to ruben kindt
  • Target version set to 4.7.0
#6

Updated by Roel Standaert 4 months ago

  • Assignee deleted (ruben kindt)
#7

Updated by Roel Standaert 4 months ago

  • Target version changed from 4.7.0 to 4.8.0

Also available in: Atom PDF