[TYPO3-english] Formhandler - moving data from one form to another
Adrian Marcinkowski
amarcinkowski at gmail.com
Wed Aug 8 11:51:25 CEST 2012
Hi list,
I try to copying (moving) data from one form to another by session. In
manual i found this example:
*In start form:*
finishers {
# Finisher_Redirect will redirect the user to another page after the
form was submitted successfully.
1.class = Finisher_Redirect
1.config {
redirectPage =
{$formhandlerExamples.multistep-forms.rent-a-car-first-step.redirectPage}
}
2.class = Tx_Formhandler_Finisher_DB
2.config {
table = tt_content
key = uid
fields {
# Retrieves data from the GET / POST parameters
field_1 {
mapping = TEXT
mapping.data = GPvar:formhandler|field_1
}
}
}
}
*In second form:*
preProcessors {
1.class = Tx_Formhandler_PreProcessor_LoadGetPost
2.class = Tx_Formhandler_PreProcessor_LoadDefaultValues
2.config {
1 {
field_1.defaultValue.data = GPvar:formhandler|field_1
}
}
}
And nothing happens. Do I missed something?
I will be greatefuul for any help!
Regards,
Adrian
More information about the TYPO3-english
mailing list