[TYPO3-dev] posting formdata in my extension stopped working :(

Brian Bendtsen brb at mentor-it.dk
Mon Mar 20 16:34:32 CET 2006


Hi

I have made an extension where I send some data from a form and this 
worked yesterday, but for an unknown
reason it doesnt work today.

My form:

$id=$GLOBALS['TSFE']->id;
$link = $this->pi_getPageLink($id);

$form = '<form action="'.$link.'" method="post"><input type="hidden" 
value="save" name="tx_extensionName_pi1[action]"><input type="submit" 
value="Send"></form>';
return $form;

Getting the hidden value:

$action = $this->piVars['action'];

This is empty, where it should be "save".

Any ideas?




More information about the TYPO3-dev mailing list