AnsweredAssumed Answered

Relate field values(ID) not getting Saved

Question asked by Gib Was on Aug 18, 2017
Latest reply on Aug 21, 2017 by hats

I have a custom module with relate fields, modules where deployed using module loader on a SugarCRM 6.5 installation

They show up okay in the edit view, but upon saving.. i get the smarty error below

 

Fatal error: Smarty error: [in cache/modules/rating/DetailView.tpl line 74]: syntax error: unrecognized tag: $fields..value

 

This is at the line 

<span id="" class="sugar_field" data-id-value="{$fields..value}">{$fields.mit_code.value}</span>

When i manually remove the extra dot from $fields..value, i am able to save. but the Relate Field ID (mit_id_c) field is not saved in the targeted module table and therefore wont show up in the relate detail view.

 

What am i missing?

Outcomes