trying to do a call like this:
[!fillerSnippet!]
[!eForm? &to=`[+somevalue+]` &formid=`ShareForm` &tpl=`ShareFormTpl` &report=`ShareReportTpl` &thankyou=`ShareThankyouTpl`!]
where the content of "fillerSnippet" is something like:
<?php
$modx->setPlaceholder('somevalue', '[email protected]'); //will eventually populate from a database query
return;
?>
i can output the "somevalue" placeholder like:
but it does not get passed into the eform code for processing. any idea what i’m doing wrong? i’ve got my page set as cacheable and the snippet calls are non-cacheable, but i swear i’ve tried every combination of things. do i need to use the "onBefore___" functions with eForm? am i using the setPlaceholder function improperly? it’s one of those problems i’ve been too wrapped up in to see clearly.