In short:
- can anyone help - I’m trying to use: {$fields.id.value}
- to show the value of that other field, in the displayed Detail page.
But Suite doesn;t understand that text - and just displays it as shown.
Full Details
- in the past: the HTML displayed could show a field value -pulled from another field
What used to work: if the Field in Studio contained this:
- {$fields.id.value}
Then in the Detail page, the correct value would show - ie in this case the ID number would show.
There seem to be 2 problems:
A)
- Studio ‘cleans’ the field when saving - and the text above becomes:
%7B$fields.invoice_no_c.value%7D
- – that can be fixed by editing the file that Studio writes to: cache/modules/moduleName/vardefs.php
B) Suite no longer understands {$fields.id.value}
- so no field-value shows.
PS - the wider HTML Field bugs: now solved:
Somewhere between roughly Suite 7.8 (maybe) and 7.11 (roughly) - these fields changed and stopped working (not showing in Detail View; but only in Edit - wrong way round!)
The bug fixes for that are known -see thread: Where are the HTML fields kept?