Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,625
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Quote Originally Posted by rnd me View Post
    pretty much any phone can also pull up the contact list and paste the info into the input when the person's list item is tapped. no more typos for them
    It would have to be automatic though or most people wouldn't make use of it just as most people don't appear to use the feature built into their browser that remembers their email address for them so that it can automatically insert it into forms without them having to type more than the first one or two characters - and thus never have any typos in their email address (at least I assume that most people don't use it judging by the number of forms you see that insist on you typing the first character of your email address twice just in case you forgot which letter it started with the first time).
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  2. #17
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,189
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    WOW! That regexp seems too lax!

    That says that "#@-" is a valid email address, per HTML5.

    REALLY? That's about as useful as "find an @ and a period".
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  3. #18
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,296
    Thanks
    10
    Thanked 584 Times in 565 Posts
    Quote Originally Posted by Old Pedant View Post
    WOW! That regexp seems too lax!

    That says that "#@-" is a valid email address, per HTML5.

    REALLY? That's about as useful as "find an @ and a period".
    i think you mistake the word "useful" for the word "perfect"...

    after all, how many of your personal and professional email addresses (that you've actually used) would the "non-useful" HTML5 RegExp fail to validate?

    the better way to look at it is "how many does it work for?" instead of "how many does this not work for?"...
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  4. #19
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,625
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Quote Originally Posted by rnd me View Post
    i will bet everything i own that the <input> tags will make the HTML5 cut.
    I agree with you. Most of the proposed HTML 5 additions relating to form fields are obvious improvements to HTML. All of the new types certainly are as it the pattern attribute. The addition of a way to define a combobox is way overdue. About the only proposed addition regarding form fields that I can see could create problems is the required attribute which if included with a pattern specifying that the field must be left empty allows you to create an input field that can never be valid. Since there is a simple pattern that can identify a field as required the specification at least needs to be changed to not allow both attributes to be specified together.

    Almost all of the proposed additions to HTML 5 that should be removed before it becomes a standard have nothing to do with forms (eg. embed is only needed to support Netscape 4 so why add it now so long after the only browser that needed it is dead). There are several proposed tags that are only needed to support browsers that are already dead or will be by the time that HTML 5 becomes a standard that ought to be dropped.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  5. #20
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,189
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    But it doesn't even catch such obvious mistakes as omitting the period.

    Is it really valid to have an email address without the period?
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  6. #21
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,625
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Quote Originally Posted by Old Pedant View Post
    But it doesn't even catch such obvious mistakes as omitting the period.

    Is it really valid to have an email address without the period?
    me@localhost is a valid email address. You only need the period for email addresses intended for use outside of the local network. If a company were using their own internal email addresses then it would be perfectly valid for their staff to enter email addresses into that company's forms where the address doesn't contain a period.

    It would be extremely rare (if it happens at all) but it is valid.

    Any domain name or IP address can be entered after the @ in an email address and local domain names don't have to include a dot.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  7. #22
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,189
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    Oh, DOH on me. Yes, I forgot about intranet email addresses. Been so long since I worked in an office. Actually used a few of those. Not sure it's that rare, anyway. Something like an online (intranet) requisition form. I think I even remember some of those. I think they just too our username, not the actual email addresses, but still...
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  8. #23
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,296
    Thanks
    10
    Thanked 584 Times in 565 Posts
    I would think an well-designed internal corporate network application would ask you for your ID instead of an internal email address.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  9. #24
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,189
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    Ummm...ID and email address were the same at almost every place I have worked.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •