[RFC] HTML5 input types for form fields
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] HTML5 input types for form fields
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.
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] HTML5 input types for form fields
Oh, I wasn't aware of that behaviour. Will have to have a play!
Re: [RFC] HTML5 input types for form fields
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...
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
Links: Kiss Portal Engine (dev site) Stargate Portal (archive site) ...
Styles: Technika