History
-
2.0.2 as of 06/25/12
- added element_label to get_array() output
- added fieldset_close() to manually close a fieldset
- added new valid attributes 'placeholder', 'autocomplete', 'data-*'
-
2.0.1 as of 11/27/11
- fixed bug where label prefix/suffix would be added twice
- removed example model from spark version
-
2.0.0 as of 11/25/11
Version 2.0.0 drops support for CodeIgniter < 2.0.0. Please upgrade your CI installations before using this version.
- fixed checkbox/radio button error
- fixed re-population of checkboxes and radiobuttons
- fixed re-population of (multiple) selects
- fixed set_value method bug with empty values
- fixed bug where check/radio groups with only single option do not open with group_prefix
-
1.0.4 as of 03/01/11
- fixed set_value for textarea elements
- completed the user guide
-
1.0.3 as of 02/28/11
- fixed set_value for hidden elements
-
1.0.2 as of 02/25/11
- added possibility to provide attributes for both the label and the element
- added error class to labels
- added $this->form->error_array containing all errors as an associative array with element name and error message
- added various new attributes to the $_valid_atts array
- fixed a bug where NULL value in textares would produce an empty 'value' attribute
- fixed label_prefix / label_suffix display for label elements
- fixed rendering issue in spans with empty attributes
- fixed name/id rendering issue in form_open method
- fixed open/close fieldset count
- removed value from $_valid_atts in textarea
- improved _check_post() method
-
1.0.1 as of 02/18/10
- fixed a bug where radiogroup and checkgroup labels didn't format correctly when required
- fixed a bug where individual labels generated with ->label() received double prefixes and suffixes
- Updated form.css with predefined label 'after' class
-
1.0 as of 12/29/09
- Modified config(key) so that it overwrites only default values from config(1) so not all values have to be re-declared
- Added new trigger() method
- Added support for calling multiple models
- Added support for defining rules in $config['globals'] and $config['defaults']
- Added $config['xss_clean_post'] config setting
- Added 'file_name' attribute for uploads
- Fixed a bug where the form was considered valid even though the upload wasn't valid
- Fixed a bug where if the upload was the only invalid element the form didn't re-populate other valid fields
-
0.2.2 as of 12/10/09
- model() now gets correct $data passed (when changed by callback functions)
- open() tag can now be omitted if the form is sent to the same url
- fieldset(FALSE) will close the fieldset last added
- Method clear() added to clear form data (when multiple forms are being used in a single controller)
- Added possibility to define prefixes and suffixes for labels, groups and elements
- Added captcha() method to use with CI's captcha plug-in
- Fixed set_value() to be able to set the values of selects, checkboxes and radios
- Fixed a bug in private _el_get_unique() function
- Fixed a bug with error classes
- Replaced 'split' with 'explode'
-
0.2.0 as of 8/27/09
- added get_post() method to retrieve validated and xss_cleaned post data
- changed button() method when used as 'submit' or 'image' type (now creates <button> instead of <input>)
- improved stylesheet style.css (e.g. vertical alignment of checkboxes)
- improved source code to validate XHTML 1.0 Transitional when reCAPTCHA is being used
-
0.1.5 as of 8/13/09
- Changed config file to match CI standards
- New recaptcha() element
- error_message() method replaced by set_error()
- error_label() method replaced by set_error_label()
-
0.1.4 as of 7/24/09
- Major overhaul to eliminate PHP notices
- Added line breaks to HTML output
- Fixed a bug that occured with 0.1.3 and "nameasid"
-
0.1.3 as of 7/14/09
- Got rid of some more PHP notices
-
0.1.2 as of 5/28/09
- Added all $_POST data to the model() function's $data array
- Fixed a bug in margin() function
- Got rid of some PHP notices
-
0.1.1 as of 5/19/09
- Fixed a bug in upload() function
- Fixed a bug in iupload() function
-
0.1.0 as of 4/4/09
- First public release of the Form Generation Library