Hello, and thank you for your reply.
I have set a snippet named
getCelebID:
<?php
$CelebID = $modx->getPlaceholder('CelebID');
echo $CelebID; //also tried return
?>
Then, called it from the document:
[[Jot? &action=`form` &captcha=`1` &docid=`89` &tagid=`[[getCelebID]]`]]
The stored value in
tagid field is:
[[getCelebI
I also tried a TV named
getCelebID:
@EVAL return $modx->getPlaceholder('CelebID');
Then, called it from the document itself:
[[Jot? &action=`form` &captcha=`1` &docid=`89` &tagid=`[*getCelebID*]`]]
The stored value in
tagid field is:
[getCelebID]
Can you help me figure out what’s wrong?