Age | Commit message (Collapse) | Author | Files | Lines |
|
Added function to form class to move tmp uploaded files to permanent storage
|
|
Form::field_file()
Set $form->[name] for each file field type setup on the form.
|
|
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
|
|
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.
|
|
|
|
but equal to "", the isset check would not behave as expected
|
|
value is applied if the supplied $input array has no key matching the field name.
|
|
+ Added helper function in Form class, logError
! Finished Form class for now
|
|
|
|
|