Project

General

Profile

Feature #7279

Feature #7894: Add more HTML5 input types

WLineEdit add support for HTML5 email type

Added by Stefan Ruppert almost 3 years ago. Updated 3 months ago.

Status:
InProgress
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 almost 3 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 almost 3 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 almost 2 years ago

#4

Updated by Roel Standaert almost 2 years ago

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

Updated by ruben kindt about 1 year ago

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

Updated by Roel Standaert 7 months ago

  • Assignee deleted (ruben kindt)
#7

Updated by Roel Standaert 7 months ago

  • Target version changed from 4.7.0 to 4.8.0
#8

Updated by Roel Standaert 3 months ago

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert
#9

Updated by Roel Standaert 3 months ago

  • Assignee deleted (Roel Standaert)
  • Target version changed from 4.8.0 to future

Also available in: Atom PDF