HashanChamara / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
0 stars 0 forks source link

Labels wrapped in <div> tag as opposed to the more obvious <label> tag #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have tested the the class to see if I can get it to work for my needs, 
however when render any of the examples provided in the documentation all the 
labels are wrapped in a div tag. This obviously reduces the functionality of 
the form as opposed to the label tag, made exactly for this purpose. This seems 
like a very strange move by the developers.

Am I missing something. Is there some sort of setting that can be enabled for 
this?

Original issue reported on code.google.com by i...@mcshaman.com on 3 Mar 2011 at 8:38

GoogleCodeExporter commented 8 years ago
No, there's no setting for turning off the div tag that wraps each element in 
the last 1.x version release.  I would recommend checking out the latest 
release of the 2.x prototype at 
http://php-form-builder-class.googlecode.com/files/pfbc-prototype-4.zip.  PFBC 
2.x will allow developers to create their own "Views" for rendering elements in 
any desired structure.

- Andrew

Original comment by ajporterfield@gmail.com on 14 Mar 2011 at 3:09

GoogleCodeExporter commented 8 years ago

Original comment by ajporterfield@gmail.com on 14 Mar 2011 at 3:13