[TYPO3-english] Powermail prefill field with POST variable?

Brian Bendtsen bb at bellevuevej.dk
Mon Mar 15 11:32:28 CET 2010


Søren Malling skrev:
>> Hi
>>
>> I tried both syntaxes but it only works with querystrings
>>
> 
> Did you notice the use of GPvar and not GP in the typoscript Sebastian sent?
Hi Søren

Yes. This is my current ts:

plugin.tx_powermail_pi1 {
prefill {
uid8 = TEXT
uid8.data = GPvar:tx_myext_pi1|nameofinputfield
uid8.htmlSpecialChars = 1
}
}

and it does not work :(

According to the tsref GPvar is deprecated, thats why I tried GP

Both of these methods work if, as I described earlier, the value is 
passed through a querystring

/BB


More information about the TYPO3-english mailing list