FormIgniter.org launched - Easy form generator - source code now available |
[eluser]Ollie Rattue[/eluser]
[quote author="mddd" date="1276094137"]Ollie, good idea and nice execution! As everybody is on the track of doing feature requests, I have one too Based on speed of use, I would suggest making the database definition part of the tool optional. Often (at least in my workflow), the database is already be laid out. By skipping the 'database schema' part, making a form would be even quicker![/quote] Hey mddd, many thanks. Could you give some more details on this? Do you mean being able to feed FormIgniter a schema and for it to output the form?
[eluser]mddd[/eluser]
That is something I had not even thought about.. it could be cool: select a table from the database and FormIgniter could pre-populate the boxes with its information. But what I meant was just, that I usually have my database already done before I start building forms. So I don't need the SQL part of FormIgniter. It would be nice if I could just leave the 'db field type' and 'field length/enum values' part empty.
[eluser]mdhb2[/eluser]
awesome app, this make my work easier thx in million man
[eluser]timtocci[/eluser]
I'm trying to install FormIgniter in a subdirectory of my doc root in XAMPP(lite) on my Windows 7 box. I followed your install directions and I'm getting a whole bunch of errors: Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\formigniter\system\codeigniter\Common.php on line 130 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampplite\htdocs\formigniter\system\codeigniter\Common.php on line 136 A PHP Error was encountered Severity: 8192 Message: Function set_magic_quotes_runtime() is deprecated Filename: codeigniter/CodeIgniter.php Line Number: 60 A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: libraries/Loader.php Line Number: 255 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\formigniter\system\codeigniter\Common.php:130) Filename: libraries/Session.php Line Number: 662 Do you have any tips for me or am I doing anything wrong? Thanks
[eluser]Ollie Rattue[/eluser]
Hey timtocci, These look like PHP 5.3 related bugs. I recently upgraded the code to work on 1.7.2 with PHP 5.3 fixes. You will find the source code at https://github.com/ollierattue/FormIgniter Let me know if you still have issues, Thanks,
[eluser]gh0st[/eluser]
Is it possible to combine FormIgniter with say Doctrine or another ORM layer so that it generates admin-like form interfaces for you; perhaps using a YAML file as an interface?
[eluser]Ollie Rattue[/eluser]
[quote author="gh0st" date="1297870537"]Is it possible to combine FormIgniter with say Doctrine or another ORM layer so that it generates admin-like form interfaces for you; perhaps using a YAML file as an interface?[/quote] FormIgniter was built to automate the repetitive process of building a validated form in CodeIgniter. It has one purpose and does it well. I have always been reluctant to add features because it will actually make it less useful across the entire user base. However the source code is available, so you can always modify it to suit your needs. Let me know if you do anything interesting with it, Thanks,
[eluser]eliminator2009[/eluser]
I have Just visited your site i have created a form at your site. Now as per Readme.txt instruction i have placed the files at the relevant directories. I am now getting this error. A PHP Error was encountered Severity: Notice Message: Undefined variable: data Filename: controllers/myform.php Line Number: 26 The generated codes are as below Controller: myform.php Code: <?php Model-myform_model.php Code: <?php view-myform_view.php Code: <?php // Change the css classes to suit your needs Thanks
[eluser]JonoB[/eluser]
Exactly as the error message says: look on line 26 of your controller. Code: $this->load->view('myform_view', $data); You are using a variable called $data, but you have not defined it yet.
[eluser]eliminator2009[/eluser]
[quote author="JonoB" date="1305250007"]Exactly as the error message says: look on line 26 of your controller. Code: $this->load->view('myform_view', $data); You are using a variable called $data, but you have not defined it yet.[/quote] The all above files are auto generated by formigniter. Where and how do i define $data variable in form. Thanks. |
Welcome Guest, Not a member yet? Register Sign In |