Form Generation Library - 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: Form Generation Library (/showthread.php?tid=16439) |
Form Generation Library - El Forum - 03-29-2011 [eluser]Infinitation[/eluser] That's awesome for registration and I'll be going down that road soon, but this is just simple retrieval of a valid email account based on previous registration. Just trying to recover the users first and last from the model back to the controller without having to separate the calls. I wasn't sure if there was a direct way to access a return result from a $this->form->model or if it had to be seperate. On a different note, are there any bookmarks for client side jQuery validation and using it with CI? I see it being pretty simple since they are separate validation pieces, but I'm curious on how people have worked with AJAX calls. I checked out most of the nettuts stuff and they are very much lacking on CI/AJAX integration info. Also searched the forums, but nothing jumps out as a clear best practice post. Thanks for the reply! Conrad Form Generation Library - El Forum - 03-29-2011 [eluser]Icehawg[/eluser] Whoops, my mistake. I read too fast and thought it was unique emails. Sorry about that. Sending you a PM about the ajax stuff since it is kinda offtopic. Form Generation Library - El Forum - 04-01-2011 [eluser]Maglok[/eluser] Also having the in_array error. Seems it applies on CI 2.0+ and not CI 1.7.3. Will there be a permanent fix to this? Or do we edit the library ourselves all the time? Form Generation Library - El Forum - 04-01-2011 [eluser]negantre[/eluser] I've uncovered something odd. It seems like if I have multiple radio buttons on a form, they're all being assigned the same name. Code: //make an array to populate yes and no radio controls When the page loads, and I check the source, all three radiogroups have the same name: Code: <br /> Is this a bug or am I doing something wrong? Any help would be greatly appreciated! Thanks! Form Generation Library - El Forum - 04-01-2011 [eluser]negantre[/eluser] Nevermind... apparently the "|" in the array was a bad idea... Code: $radios_yesno[] = array('yes|yes', 'Yes'); Form Generation Library - El Forum - 04-18-2011 [eluser]macigniter[/eluser] [quote author="Maglok" date="1301674011"] Will there be a permanent fix to this? Or do we edit the library ourselves all the time? [/quote] Absolutely! No, not really, but I cannot commit a fix amount of time for this library and can only work on it when there's some time off. I think it is a good idea to put the lib on BitBucket. I will do this soon so everyone can contribute and commit. Form Generation Library - El Forum - 04-18-2011 [eluser]macigniter[/eluser] I have put the code up at BitBucket so everyone can contribute to the source: https://bitbucket.org/frankmichel/codeigniter-form-generation-library Form Generation Library - El Forum - 04-21-2011 [eluser]Maglok[/eluser] Your work is very much appreciated macigniter. I bumped into something I bumped into earlier as well. If you toggle required it attaches the required class to a label. I get that. Is there any reason why it doesn't do so with radiobuttons and dropdowns? Form Generation Library - El Forum - 04-28-2011 [eluser]Davide Bellini[/eluser] Hi guys! I've some problem using ->config() ... If in configuration file I set : Code: $config[1]['nameasid'] = TRUE; Always load config[1] ... however if set : Code: $config[2]['nameasid'] = TRUE; It works fine, why??? Form Generation Library - El Forum - 04-30-2011 [eluser]tieungao[/eluser] HI mac, how if i want to deal with a text-area rich text editor like tiny mce or fckeditor? |