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 - 07-18-2010 [eluser]nearo[/eluser] Thank you for the response I appreciate your help and insights. I am only looking to make a form mail, a contact form on a website, nothing more, but for simplicity sake it is much easier if the FROM shows as the person who filled out the form. It seems simple enough to do and was curious if anyone found the trick in setting it this way. Thank you again. Form Generation Library - El Forum - 07-18-2010 [eluser]BaRzO[/eluser] Okey. I get you now. You can generate your form with formlib and Email class when the form submitted and if there is no errors to show user you can use Email class and you can add email class config $this->email->reply_to('reply@ example.com') for to reply address thats it. Form Generation Library - El Forum - 07-19-2010 [eluser]joytopia[/eluser] [quote author="joytopia" date="1279120423"] after CI's security patch http://codeigniter.com/news/codeigniter_1.7.2_security_patch/ iupload does not work any more... [/quote] Found it out: preference ‘file_name’ in CI's file uploading class now must contain the file extension (.jpg, .gif etc.) Best regards Bernd Form Generation Library - El Forum - 07-22-2010 [eluser]groyk[/eluser] Hi MacIgniter Just upgraded to ver. 1.01 But I am having troubles with validation :-( Please look at my code Code: # Makes jQuery multiselect for roles In ver. 0.2 i had to have both ->get and ->get_array in order to validate corect! Right now I have solved the issue by comment out line 1465 and 1487 in the library. But this is of-course a really bad idea. But right now my only solution! Form Generation Library - El Forum - 07-23-2010 [eluser]groyk[/eluser] Hi MacIgniter Just found a small bug in your library. when i try to post arrays the ->get_post method fails. print_r shows following Code: [header[da]] => The right output should be Code: [header] => Array Fields are created like this in the controller Code: foreach($languages as $key => $lang) Form Generation Library - El Forum - 07-30-2010 [eluser]Mat-Moo[/eluser] Hi Mack I'm using this lib now on all my projects, but I've just hit a snag. I need to add Code: <div class="xxx"> Form Generation Library - El Forum - 08-03-2010 [eluser]ortenheim[/eluser] wow 55 pages...can this library be used to create forms from the database? by sending it arrays? Form Generation Library - El Forum - 08-04-2010 [eluser]hugle[/eluser] [quote author="ortenheim" date="1280853764"]wow 55 pages...can this library be used to create forms from the database? by sending it arrays?[/quote] Well, I didn't see any live example, but actually you can, grab array from database, and make a foreach loop. Try to use it, you'll see it's very simple and easy to use from post on page #55, there is a little example of this: Code: foreach($languages as $key => $lang) Now you can have a better idea of what I am talking about Form Generation Library - El Forum - 08-04-2010 [eluser]Frank Rocco[/eluser] I tried your demo login. Getting an error. A PHP Error was encountered Severity: Warning Message: call_user_func_array() expects parameter 2 to be array, string given Filename: libraries/Form.php Line Number: 1991 Form Generation Library - El Forum - 08-07-2010 [eluser]Mat-Moo[/eluser] I've just got that exact error running this lib on xaampp lite 1.7.3, any ideas? |