[TYPO3-english] Powermail prefill field with POST variable?
Brian Bendtsen
bb at bellevuevej.dk
Mon Mar 15 14:19:57 CET 2010
Sebastiaan de Jonge skrev:
> Hi,
>
> Unfortunately only one of two is accepted. So mixing GET and POST
> parameters will set the GET parameters to overrule the POST ones.
> Making your value probably empty. We also can't use something else
> other than GPvar like _POST or _GET.. Can't think of any quick option
> to avoid this.
>
> Sebastiaan de Jonge
> http://sebastiaandejonge.com
>
Hi Sebastiaan
I'm not trying to mix GET and POST if that is in fact what you think I'm
doing.
I'm only interested in making it work with POST parameters :)
To simplify:
I have a form that sends a single parameter using the POST method.
The target of this form is a page with a powermail plugin where I want a
hidden field to be prefilled with value from the first form.
My form looks like this in html:
<form action="pagewithpowermail" method="post">
<input type="radio" name="tx_myext_pi1[nameofinputfield]" value="0"/>
<input type="radio" name="tx_myext_pi1[nameofinputfield]" value="1"/>
<input type="radio" name="tx_myext_pi1[nameofinputfield]" value="2"/>
<input type="submit" value="send"/>
</form>
/BB
More information about the TYPO3-english
mailing list