CI Form-Framework 1.0.1 - a form abstraction layer |
[eluser]benboi[/eluser]
Hello, what is your imagination? For me having multipage-forms is like having the input of steps passed before inside of the session and when the user hits the back button, the form is repopulatet, with the data found in session. Is that you imagination? Sure, i could give it a try, but ill need to buildin a mechanism, that data is not overwritten, because of the same fieldnames (maybe using an internal descriptor, generated from the class-name + '_fieldname') I have to think about this, but definitly a good idea Greets
[eluser]codeninja[/eluser]
Check out http://hg.mijnpraktijk.com/ab_wizard/wiki/Home for ideas..
[eluser]benboi[/eluser]
Hello, didn't test it yet, i think defining it as public function in your current form-class should do it. Will take a look on that. Thanks for your question
[eluser]benboi[/eluser]
Added custom Loader class, for the use with hmvc. Form classes now have to be located in the current module/forms path. To use it, just let the MY_Loader.php extend the Form_Loader.php. This class is already extending MX_Loader Have fun ...
[eluser]benboi[/eluser]
Someone asked me to provide a quick example on how to use the new "save to session"-feature. Here is a easy one. Imagine you have 2 different form-classes created and they both have some fields which have the same names. Have a look in our controller: Code: class Order_process extends CI_Controller { Thats it Please note, that having many forms in session requires you to enable db-based sessions.
[eluser]Unknown[/eluser]
Hi there, I'm currently using this framework, and I'm wondering if it's possible to set custom validation error messagess for each element? Cheers, Mark P. |
Welcome Guest, Not a member yet? Register Sign In |