this is my snippet...
<?php
$ttmpFciNum = $_REQUEST["fcinumber"];
$ttmpFciNum = isset($ttmpFciNum ) ? $ttmpFciNum : ’-1’;
$myClass = new MyClass();
$isIn = $myClass ->newFCINumber($ttmpFciNum) ;--- here I check something into DataBAse
if( $ttmpFciNum == -1)
return $myCheckFormTmp; --- here is simply form with one input box
else
{
if ($isIn)
{
$url = $modx->makeURL(42);
$modx->sendRedirect($url,0,’REDIRECT_REFRESH’);
}
else
return $modx->getChunk(’MailForm’); ---( here I whant to call [!eForm? &language=`serbian`&formid=`feedbackForm`&to=`
[email protected]`&tpl=`eFeedBackFormSRP`&thankyou=`eFeedBackThanksSRP`&report=`eFeedbackReport`&vericode=`0`&mailselector=`department`!])
so this code I put in Chunk {{MailForm}} ...BUT DONT WORK
I get page with ’[!eForm? &language=`serbian`&formid=`feedbackForm`&to=`xxx@com`&tpl=`eFeedBackFormSRP`&thankyou=`eFeedBackThanksSRP`&report=`eFeedbackReport`&vericode=`0`&mailselector=`department`!]’
instead of form
}
?>
can you help me ?!?