Good afternoon all,
I am trying to add a new dropdown field in the DocumentRevisions Module. Since this is not found in the studio, I had to hard-code placing the field in the right spot. I first created a dropdown named 'Approved' then created a custom field via the studio named 'adstatus'. Finally I edited the DocumentRevision/Editview.html file and entered:
<td class="dataLabel"><span sugar='slot2'>{MOD.adstatus_c}</span sugar='slot'></td>
<td class="dataField"><span sugar='slot2b'><select name="adstatus_c title="{ADSTATUS_C_HELP}">{OPTIONS_ADSTATUS_C}</select></span sugar='slot'></td>
This is the exact code from others, I just changed the name of the field. However, my problem is that the dropdown list is empty. The label is ok though so it means that the field is detected. It's just the dropdown list that is not populated.
Any help? Thanks a lot.


LinkBack URL
About LinkBacks



Reply With Quote



Bookmarks