1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

correct customer details field names

Discussion in 'HTML, Graphics & Programming' started by Fairly sure the answer is no, Aug 8, 2018.

  1. Fairly sure the answer is no


    Joined: Feb 12, 2006

    Posts: 9,157

    Location: Surrey

    i've been told on here that the id's i use for the fields which collect customer details, such as first name, email, post code etc, are incorrect and that there is a standard to use so that autofill forms work better.

    i've had a quick google and can't seem to find what the standard is so hoping you lot can help me out
  2. Dup


    Joined: Mar 10, 2006

    Posts: 9,712

    Location: East Lancs

  3. Dj_Jestar


    Joined: Oct 18, 2002

    Posts: 28,307

    Location: Back in East London

    Labels also work as wrappers like so:

    <label>Some label text appearing before the element<input type="text" name="email"/>Some label text appearing after the element</label>
    though usually you'd at least <span> the text.