PreProcessor\LoadDB
Prefills form fields with values from configured database fields. Config is done for each step and for each form field.
Properties
.[step].[field].preProcessing
Preprocesses the values before loading them into the session.
Data type
cObj
Version added
1.0.0
Example code
fields { header { preProcessing = USER preProcessing.userFunc = user_helper->appendSomething mapping = firstname } }
.[step].[field].postProcessing
Postprocesses the values before loading them into the session. With this you can override the processing of Formhandler, if you are not satisfied with it.
Data type
cObj
Version added
1.0.0
Example code
fields { header { postProcessing = USER postProcessing.userFunc = user_helper->appendSomething mapping = firstname } }
.[step].[field].type
Specifies the type of the field.
Currently this is only used for file upload fields.
This setting is mandatory for file upload fields preloaded from the DB!
Data type
String | cObj
Version added
1.0.0
Example code
type = upload
.select.
Since version 2.0, select is a pure TypoScript select. This way, you can configure joins for your select.
The only difference is, that Formhandler doesn't require a pidInList to be set.
Data type
Array
Version added
2.0.0