[RFC] HTML5 input types for form fields

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.
User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: [RFC] HTML5 input types for form fields

Post by imkingdavid » Wed Aug 29, 2012 5:33 pm

I think he means the HTML 5 fields that automatically let you know when a value in them does not meet the requirements. For instance, I think the email input type turns red when the value inside doesn't look like an email address.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
callumacrae
Infrastructure Team
Infrastructure Team
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: [RFC] HTML5 input types for form fields

Post by callumacrae » Wed Aug 29, 2012 5:42 pm

Oh, I wasn't aware of that behaviour. Will have to have a play! :-D
Made by developers, for developers!
My blog

Michaelo
Registered User
Posts: 106
Joined: Thu Apr 01, 2004 7:56 am
Location: Dublin

Re: [RFC] HTML5 input types for form fields

Post by Michaelo » Fri Aug 31, 2012 2:31 am

Yep... HTML5 has built in validation using the required tag...
It also including some nice scripts to indicate the field in question without having to write your own procedures...
So far I've only used it to ensure a field is not left blank... don't know if you can extend it to use rules... but it's still a time saver...
Mods: Forum Icons Enhancement, Kiss Portal Engine
Links:
Kiss Portal Engine (dev site) Stargate Portal (archive site) ...
Styles: Technika


Post Reply