mramon
1
Hidden custom field is working in public/legacy/modules/Contacts/metadata/editviewdefs.php ?
$viewdefs ['Contacts'] =
array(
'EditView' =>
array(
'templateMeta' =>
array(
'form' =>
array(
'hidden' =>
array(
0 => '<input type="hidden" name="opportunity_id" value="{$smarty.request.opportunity_id}">',
1 => '<input type="hidden" name="case_id" value="{$smarty.request.case_id}">',
2 => '<input type="hidden" name="bug_id" value="{$smarty.request.bug_id}">',
Suitecrm 8.1 any
php 8
Thanks
pgr
2
Contacts is not a legacy module in SuiteCRM 8, so no, that’s not going to work.
1 Like
mramon
3
Do you know which modules are not legacy in suite8?
pgr
4
That’s very easy to spot visually if you pay attention, they look different
Also have a look at this file:
services/module/module_routing.yaml
and search these forums for that file name to learn more.
1 Like
mramon
5
It’s true that looks different! thanks!
1 Like