Welcome Guest, Not a member yet? Register   Sign In
FormIgniter.org launched - Easy form generator - source code now available
#11

[eluser]drewbee[/eluser]
Very cool. From here on out, it's all about configuration!!!

For instance, I like to set my rules in 1 giant array, rather then seperate set rules function. This could be handled by a simple checkbox.

Code:
$rules = array(array('name' => 'field_name',
                     'label'=> 'Field Name',
                     'rules' => 'trim|callback__frank'),
         array('name' => 'field_name2',
                     'label'=> 'Field Name 2',
                     'rules' => 'trim|callback__frank2'),
              
             );

One additional item that I noticed is that one of the rules can be auto set, as well as the part in the view.

When creating the field you have the option for max length. The rules for the field should automatically set max_length[10] and on the view, the maxlength of the attribute ie <input type="text" maxlength="10">

Very cool start to something here though!!! Smile I guess from the configuration point, it's really just about building it to be completely custom to how the user outputs code. If I could specify how it builds the output in the view, controller, model etc that is even sicker!!


Messages In This Thread
FormIgniter.org launched - Easy form generator - source code now available - by El Forum - 05-13-2009, 01:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB