cancel
Showing results for 
Search instead for 
Did you mean: 

Share Form - Set Field Focus

mtw999
Champ in-the-making
Champ in-the-making
Hello,

Using 4.2….

I want to set focus on a specific field when form is comes up. For example, I want to set focus in one of my fields in the Edit Properties Form.
Edit Properties does not seem to have any field focus set. doclib-simple-metadata form does but it is first field in form and I cannot see where that is being set explicitly.

Not sure how to do this. Can I just create a custom control for the property associated to this filed and grab focus in it?

Mike
1 REPLY 1

aaditvmajmudar
Confirmed Champ
Confirmed Champ
Hi,

You can write you custom js file and in that whenever your field gets rendered, you can fire an event and can set focus on that.

Hope this helps.