[TYPO3-english] formhandler, value.current, CASE...understanding problems
Reinhard Führicht
rf at typoheads.at
Thu Feb 9 15:19:20 CET 2012
Hi Sören,
Am 09.02.2012 15:01, schrieb Sören Kracker:
> Hi list,
>
> Seems that, the current value isn't present there.
> Another question regarding formhandler and this example: Is it somehow
> possible to get the values using .field? Something like that (which is
> not working):
I think the answer to both questions is that Formhandler sets "value" to
the value of the field configured in "mapping" automatically.
Additionally, "current" isn't set by Formhandler because of this reason.
So, f.e. in this case:
mydbfield {
preProcessing = TEXT
preProcessing {
wrap = asdf|asdf
}
mapping = myvar
}
The TS which Formhandler creates looks like this:
mydbfield {
preProcessing = TEXT
preProcessing {
value = Value of the field myvar
wrap = asdf|asdf
}
mapping = myvar
}
If you set the "value" yourself in TS, Formhandler will not set it
automatically.
Regards,
Reinhard
More information about the TYPO3-english
mailing list