![]() |
DV_FormGen 1.0 beta - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: DV_FormGen 1.0 beta (/showthread.php?tid=20738) |
DV_FormGen 1.0 beta - El Forum - 07-20-2009 [eluser]Sbioko[/eluser] Hi, i developed a new library: DV_FormGen! As you understood, this is Form Generation Library. Features: *Input(text) fields *Textarea fields *Hidden fields *File Upload fields *Custom attributes *JavaScript attributes *Submit & Reset fields *Checkboxes and Radios *Inserting checkboxes or radios in one line *Generating in <table> tag *If you didn't find field you need, you can add you own! Known Issues: *Problems with checked attribute in checkbox fields *JavaScript attributes not working, because of this(example of generating result): Code: <input type="text" name="field" onfocus="if(this.value=="") { this.value="Value"; }"> *If you are find some new issues, please write in this topic or email me! Attention: this is BETA! Sample Code: Code: <?php DV_FormGen 1.0 beta - El Forum - 07-20-2009 [eluser]davidbehler[/eluser] @JS problem: Try using single quotes or escaping the quotes witha backslash DV_FormGen 1.0 beta - El Forum - 07-21-2009 [eluser]Sbioko[/eluser] waldmeister, thanks a lot. I forgot about backslash! In future this library will generate forms from database tables. |