this is what I did above. (both variants)
if the the selected topic is 'one'
and you have a TV for the related helpfull text with name helpfulltext_one
you can try:
[[*helpfulltext_[[+topic]]]]
but this will only work, if the form and formit is on the same page as your TVs
And I'm not sure if this will work at all.
The second version is to use a hook-snippet which does this (same scenario)
$topic=$hook->getValue('topic');
$hook->setValue('helpfulltext',$modx->resource->getTVvalue('helpfulltext_'.$topic));
return true;
You need to name your helpfulltext-tv suffixed by the topic.
If that's not possible you can use switch/case - conditions in your hook-snippet.
[ed. note: Bruno17 last edited this post 11 years, 10 months ago.]