Field handler functions are triggered when a field first loads, and each time its value changes.
The function's parameters are:
- helper - The form helper library
- fieldName - The name of the field
- value - The new value of the field
- valid - The field validated successfully (either true or false)
- eventName - The name of the event triggering the call, either CHANGE, PAGEINIT or NEWPAGEINIT
In these examples the handler on the first field combines its value with some text and updates the second field.