Feature #7279
Feature #7894: Add more HTML5 input types
WLineEdit add support for HTML5 email type
0%
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
Updated by Roel Standaert over 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.
Updated by Stefan Ruppert over 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
Updated by Roel Standaert about 2 years ago
- Related to Feature #7894: Add more HTML5 input types added
Updated by Roel Standaert 7 months ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
Updated by Roel Standaert 7 months ago
- Assignee deleted (
Roel Standaert) - Target version changed from 4.8.0 to future