How to set focus on Dropdown

How to set focus on Dropdown

Hi Team,

How to set focus on dropdown after I click "Save & New" button in popup Editor?

Sattibabu Vatti.
Hi Sattibabu,

It's only possible to do this through JavaScript.
From the HTTPRequestHandler module reference the RunJavaScript.

Then on the preparation of the Popup. Use the RunJavascript with the following code:
"$('#" + Dropdown.Id + "').focus()"
You need to fill the name property of the Dropdown otherwise the Dropdown element will not appear in the widget list.

Good luck!

p.s. there is also a RichWidget element (Input_SetFocus) that does this, works the same if its only for loading the full page: