Answered
One field displays # and other field displays ##
Team,
In my code I'm trying to dynamically replace the # with ##.
Code is ,
for(key in localStruct.AdditionalFieldsToUpdateStruct) {
localStruct.AdditionalFieldsToUpdateStruct[key] = replace(localStruct.AdditionalFieldsToUpdateStruct[key],'##','####','all');
}
But while displaying, one field shows # and other shows ##,

Not able to find the reason why this happens,
Can you please help?
Code where the fields are displayed ,
<td class="formRow">
#local.fields[FiName].Display#
</td>
#local.fields[FiName].Display#
</td>
