Welcome Guest, Not a member yet? Register   Sign In
Too much code just to output a form
#11

[eluser]xwero[/eluser]
I wonder why people use divs if the form looks like a a paragraphed text? Just use the p tag, the fields will not be shown horizontally.

The problem i have with the ggoforth's example is that fieldset would be better than a div as it is a group of fields.

html5 has all these descriptive tags; nav, article, details. I think it's better to use the most descriptive tag for the job, this creates markup that can read by machines and humans with less guessing how the page is build.

To get back on track the form helpers are meant to use when a cms give its users a bit of wiggle room to change the form to their liking. Otherwise form helpers are indeed a unnecessary layer.


Messages In This Thread
Too much code just to output a form - by El Forum - 06-25-2009, 12:48 PM
Too much code just to output a form - by El Forum - 06-25-2009, 01:31 PM
Too much code just to output a form - by El Forum - 06-25-2009, 02:26 PM
Too much code just to output a form - by El Forum - 06-25-2009, 02:30 PM
Too much code just to output a form - by El Forum - 06-25-2009, 03:44 PM
Too much code just to output a form - by El Forum - 06-25-2009, 09:49 PM
Too much code just to output a form - by El Forum - 06-25-2009, 11:25 PM
Too much code just to output a form - by El Forum - 06-25-2009, 11:35 PM
Too much code just to output a form - by El Forum - 06-25-2009, 11:43 PM
Too much code just to output a form - by El Forum - 06-26-2009, 12:36 AM
Too much code just to output a form - by El Forum - 06-26-2009, 01:04 AM
Too much code just to output a form - by El Forum - 06-26-2009, 08:50 AM
Too much code just to output a form - by El Forum - 06-26-2009, 09:30 AM
Too much code just to output a form - by El Forum - 06-26-2009, 10:11 AM
Too much code just to output a form - by El Forum - 06-26-2009, 10:11 AM
Too much code just to output a form - by El Forum - 06-27-2009, 04:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB