
Originally Posted by
deathshadow60
Well, your fancy styled radio buttons don't seem to work (though being WIP that's understandable if that's all that's wrong) -- a lot of fancy stuff that annoys me when it comes to forms... but most of all... and the page never seems to finish loading.... the 25k of carriage returns before it even gets to the doctype possibly being a contributing factor.... or an indicator of something disastrously wrong in the code generating it.
This a work in progress so not all issues have been resolved. I just removed all the carriage returns. By default the system does not strip space it has to be turned on though I didn't consider it because this is more a proof of concept than anything. If you say the radio buttons aren't accessible than I will probably just show the actual radios. No biggie. I was merely attempting to replicate jQuery Mobile there.

Originally Posted by
deathshadow60
... 51k for 26 input and label pairings being a indicator you are REALLY over-thinking things here... especially when your labels could easily be broken into FIELDSETS by appearance, then have single class for each set off that.
I thought so at first to which is why having built the form API itself several months ago I did not initially do this. However, it has become clear after building several applications with it that there is a lot of repetition in CSS for forms. Repetition which I would like to eliminate and replace with a style sheet that gets me 75%+ of the way there without needing to write application side CSS.

Originally Posted by
deathshadow60
You seem to be trying to use massive nested NAME/ID to do semantic markup's job... as evidenced by all the DIV for nothing with made up fictional attributes and massive values. Lemme guess, Drupal? Another example of CMS code by people who didn't bother learning HTML first.
The divs aren't for nothing. They provide a container that is necessary to store the state of individual form elements which is necessary to style the element correctly using CSS. Form elements need to styled differently based state. There is no way to do that without passing the state somehow to the HTML which I have decided to do using wrapping div(s) with data attributes which I can hook into using CSS.
No, this is not Drupal. it is actually a custom build framework built on top of C and Oracle that runs a significant portion of my companies applications.

Originally Posted by
deathshadow60
I don't know what is. I wrote code like that, I'd have to put myself down HARD. How to take something simple (FORMS) and turn it into a convoluted pointless inaccessible slow loading mess.
Alright... I can't really respond to that. If you think they are "simple" fine by me. I don't mind sacrificing a little to gain a lot in terms of maintaining SEVERAL existing sites. There just has to be a reason to do so and I believe I have a good reason though you may not considering you don't understand the complete scope of the problem so your looking at it only in terms of the mark-up itself. Which is fine but there are many other more important things to consider outside your realm of understanding.
Off Topic:
This is why I didn't give a context in the beginning because I knew that the idealist who don't have to deal with MAINTAINING highly dynamic, changing sites would be on alert and the thread would turn into a bash fest. w/e...
Simply doing the best I can with what I have to work with.
Bookmarks