Customisation
XFL
There are a number of customisation options to change the functionality of XFL.
Encoding
By default XFL uses the UTF-8 character encoding. If you are using a different encoding, you can set using $encoding class variable in a controller class to your encoding of choice.
Return Passwords
When validation errors have been encountered XFL will return the form with password field values removed. If you would prefer password values to be returned, set the $returnPassword class variable to true (bool) in a controller class.
Returning Blank Forms
XFL will return a form with the posted values when it has been successfully submitted. If you would prefer the form be returned with blank fields, set the $returnBlankForm class variable to the true (bool) in a controller class.
Error Class Names and Error Prefixes
XFL has the ability to add a class to fields that do not validate and generate generic errors for those fields. These features will be covered in the error handling documentation.