Open
Description
Issue
When editing, besides the buttons on top and bottom of the page, there are hidden fields also duplicated.
And these fields have the same id. Browsers and javascript don't like fields with the same id.
Expected Behavior
Should be only hidden fields with unique id.
Actual Behavior
There are duplicated hidden fields.
Possible Fix
on
include\EditView\footer.tpl
comment this code
<!-- to be used for id for buttons with custom code in def files -->
{{if isset($form.hidden)}}
{{foreach from=$form.hidden item=field}}
{{$field}}
{{/foreach}}
{{/if}}
Steps to Reproduce
- Open and Edit one module register
- See the source code near the buttons.
Context
I had difficulties accessing hidden fields with javascript
Your Environment
SuiteCRM 7.13.3