How to set focus on load of the screen
Hi,
We are using Pega 7.1.8.
How to set focus on a filed when screen is getting loaded first time.
What I did, I created a section with below script and added it in the main section where I have the "myTextId" property.But this is not working.
<script>
window.onload = function() {
document.getElementById("myTextId").focus();
};
</script>