Hi!
I am adding a javascript code to poulate a combo-box in SBM form using a third party API and to do that I have to get that combo-box id using document.getElementByIdfunction, but I was not able to get it using the control name like const cmbClient = document.getElementById('cmb_client') but I was able to get it using const cmbClient = document.getElementById('11dea367-3f93-4503-813f-f44c3e570f42') which is the id that SBM generates as part of security purposes, my concern is that id will be changed I think based on the user browser on different machines , so is there a way to implement getElementById function using the ComboBox name defined in the SBM form ? or is there a way in SBM javascript to get the id of a particular field?
Thanks!