[TYPO3-project-formidable] Result message after submission
Luc Muller
l.mul-nospam-ler at ameos.com
Wed May 16 11:47:58 CEST 2007
What you could simply do
is to customize the actionlet redirect
see this :
<actionlets>
<actionlet:REDIRECT>
<pageid>
<userobj>
<php><![CDATA[
$aInfos = $this->oDataHandler->_getFormData();
if($aInfos["somefiled"] == "somevalue"){
return mypage id (can be set in typoscript with
$this->_oParent["conf"]["piconf."];)
}else{
return myotherpageid
}
return $sLink;
]]></php>
</userobj>
</pageid>
</actionlet:REDIRECT>
</actionlets>
another way would be to do something like this in your pi php code
$Content = $this->_render();
if($this->oSignForm->oDataHandler->_isFullySubmitted() &&
$this->oSignForm->oDataHandler->_allIsValid()) {
$sContent = "What you want to display after submitting form" or some php
function
}
Is that what you need ? :)
Luc Muller
"Jérémy Lecour" <jeremy.lecour at gmail.com> a écrit dans le message de news:
mailman.227746.1179308578.21067.typo3-project-formidable at lists.netfielders.de...
Hi,
I'd like to render something different from the form after it is submitted.
There is no edition mode so I don't care that the user can modify its
input after submitted it.
How could I do It ?
Thanks
--
Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
webdesigner, webmaster et développeur web
Provence Linux User Group : http://www.plugfr.org/
More information about the TYPO3-project-formidable
mailing list