[TYPO3-english] Powermail prefill field with POST variable?
Brian Bendtsen
bb at bellevuevej.dk
Mon Mar 15 10:42:28 CET 2010
Sebastiaan de Jonge skrev:
> Hey,
>
> Please refer to the manual for this:
> http://typo3.org/documentation/document-library/extension-manuals/powermail/1.5.3/view/1/10/#id2508066
>
> Proper syntax in your case would be:
>
> plugin.tx_powermail_pi1 {
> prefill {
> uid8 = TEXT
> uid8.data = GPvar:tx_myext_pi1|nameofinputfield
> uid8.htmlSpecialChars = 1
> }
> }
>
> Regards,
>
> Sebastiaan de Jonge
> http://sebastiaandejonge.com
>
> On Mon, Mar 15, 2010 at 9:39 AM, Brian Bendtsen <bb at bellevuevej.dk> wrote:
>> Hi
>>
>> I want to prefill a powermail field with a POST variable from a form. Is
>> this possible or can you only prefill field with value from querystring?
>>
>> My ts looks something like this:
>>
>> plugin.tx_powermail_pi1 {
>> prefill {
>> uid8 = TEXT
>> uid8.data = GP:tx_myext_pi1[nameofinputfield]
>> uid8.htmlSpecialChars = 1
>> }
>> }
>>
>> /BB
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
Hi
I tried both syntaxes but it only works with querystrings
If I take my URL and append like this:
http://www.mysite.com/index.php?id=1&tx_myext_pi1[nameofinputfield] the
field is prefilled
But the value is send via POST from a form
/BB
More information about the TYPO3-english
mailing list