In our application we are using JS and consider that we have dropdown control and it’s ondatachange event with argument say (oldValue, newValue, event)
Now from JS, event we need to pass in below way
var jsEvent = { svyType: ‘JSEvent’ }
but in backend, when onDatachangeEvent triggered at that time event.getElementName we are not getting any value into it.
So can you please let us know what is missing in above to get the elementName as well?
You can only get the elementName when it’s really triggered by a form-element.
Better solution is to separate your logic, so it doesn’t require the element name.