[TYPO3-english] formhandler additionalParams - clean url
7seas
info at 7seas.nl
Wed Apr 6 15:49:05 CEST 2011
hi everyone,
To pass Get/Post data from one Formhandler-form into another, I use a
redirectPage finisher in the first form:
1.class = Tx_Formhandler_Finisher_Redirect
1.config {
redirectPage = 259
additionalParams {
senddata = TEXT
senddata.dataWrap =
&formhandler[uid]={GPvar:formhandler|uid}&formhandler[randomID]={GPvar:formhandler|randomID}
}
correctRedirectUrl = 1
}
The GPvar data are required in second form for updating fields in 2
different tables, using Finisher_DB, updateInsteadOfInsert = 1
("senddata" is only used to pass the string into additionalParams,
could be any string)
The GPvars for the first form: uid=112
randomID=5842e7288817084cf81165ffb9f030ea
Unfortunately the url contains (html) chars like %26 and
correctRedirectUrl does not remove them.
..index.php?id=259&no_cache=1&uid=%26formhandler[uid]%3D112%26formhandler[randomID]%3D5842e7288817084cf81165ffb9f030ea
Is there some typoscript to render a clean url?
thanks,
Caspar
More information about the TYPO3-english
mailing list