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.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    when to use tables

    say you've got a form thats responsible for collecting data on an individual pertaining to first name, last name, middle initial, address, state, zip, etc.

    is it good web etiquette to use a table for organizing the input fields and then returning the entered data in the same table, or should you use a table to organize the returned data only?

    and if the best way is to only use table markup for the returned data only, whats the most effective method for organizing the input fields? unordered lists? a separate div for each field? thoughts? thanks!

  • #2
    New Coder
    Join Date
    Sep 2012
    Location
    USA
    Posts
    13
    Thanks
    0
    Thanked 2 Times in 2 Posts

    when to use tables

    Hi ! As per my Opinion the best way is to use table for organizing the input fields and then returning the entered data in the same table with different font style. It is the helping when you have some query or problem then you easily manage it.

  • #3
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hey there, thanks for the reply. as well as that thanks for prefacing the message with 'as per my opinion.' its refreshing when people dont view themselves as the end all authority on a given topic.

    anyway.

    while i agree that structuring the form using a table, and returning the data to that very same table is, from a workflow standpoint, the most convenient thing to do, my question is is it semantic?

    most everything ive read in relation to table usage stresses that it only be used for the tabular arrangement of data.

    given that forms arent data, but a method of collecting it, im wondering if using tables for their arrangement is considered proper.

    thanks!

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    You've sort answered your own question about when tables should be used, I think. The general consensus is that they should not be used for layout.

    Here's a couple of useful links on laying forms out without tables:

    http://alistapart.com/articles/prettyaccessibleforms
    http://www.noupe.com/php/beautiful-forms.html

    The first of these is quite old, but still useful I think.


  •  

    Posting Permissions

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