Preprocess

You can easly get a form more reactive using hook preprocess.


Params

The preprocess is a callback function with params field, fields, values and require to return a current field object.

  1. field: current field
  2. fields: all fields of the form
  3. values: values of all fields

Result

{}