summaryrefslogtreecommitdiffstats
path: root/app/class/form.class.php (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-27Update function Form::populate() to initialize fields added with ↵Malf Furious1-1/+35
Form::field_file() Set $form->[name] for each file field type setup on the form.
2016-03-27Add form field type 'file'Malf Furious1-0/+17
Add the Form::field_file() function to allow form handlers to specify they expect to receive file from the end-user. This adds data about the file field to the form, but does not yet handle it in the populate function
2016-03-27Alter representation of form boolean valuesMalf Furious1-1/+1
Changed how Form() objects model true and false for boolean fields. Was "true" and "false", is now "1" and "0", respectivly. This is to address how Mysql handles these values as they are pushed to the db.
2015-12-08+ Added bool field type to Form classM1-0/+8
2015-12-06* Bug fix in Form class - populate function -- If a field was set in $input, ↵M1-3/+3
but equal to "", the isset check would not behave as expected
2015-12-05* Form class fields now have the ability to set a default value. Default ↵M1-13/+25
value is applied if the supplied $input array has no key matching the field name.
2015-12-05+ Implemented populate function in Form classM1-3/+97
+ Added helper function in Form class, logError ! Finished Form class for now
2015-12-05+ Added numeric and enum types to Form classM1-0/+37
2015-12-03+ Started Form class definitionM1-0/+35