Skip to main content
Solved

Ability to Set Focus on Specific Field on Page Load

  • February 26, 2025
  • 3 replies
  • 66 views

Forum|alt.badge.img+2

Hi is there a method in acumatica where I can set the cursor to be defaulted to a specific field on a screen in Acumatica once the page is loaded?

I have investigated and found a link to this idea post but could not locate more information regarding this:

https://community.acumatica.com/ideas/setfocus-on-fields-2473

Thank you!

Best answer by Naveen Boga

Hi ​@TharidhiP   In addition to Harish's comment, I believe Acumatica has this functionality by default.

For example, when you load the Sales Orders screen, the cursor is automatically focused on the Order Type field. I assume this is the behavior you're referring to.

If yes, you can achieve this by adding the additional property (i.e. DefaultControlID) in the .aspx page.


Below is the screenshot from Sales Orders .aspx page. 

 

 

View original
Did this topic help you find an answer to your question?

3 replies

hdussa
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • 99 replies
  • February 26, 2025

Hello ​@TharidhiP ,

You can customize the screen and use JavaScript/jQuery to achieve this. The article below will help you.

https://stackoverflow.com/questions/57914190/set-focus-to-specific-field-when-add-new-record-button-is-clicked

Happy coding!


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3393 replies
  • Answer
  • February 26, 2025

Hi ​@TharidhiP   In addition to Harish's comment, I believe Acumatica has this functionality by default.

For example, when you load the Sales Orders screen, the cursor is automatically focused on the Order Type field. I assume this is the behavior you're referring to.

If yes, you can achieve this by adding the additional property (i.e. DefaultControlID) in the .aspx page.


Below is the screenshot from Sales Orders .aspx page. 

 

 


Forum|alt.badge.img+2
  • Author
  • Pro I
  • 103 replies
  • March 3, 2025

Thanks ​@Naveen Boga for the solution. This is also applicable for the grid as well right which would contain line details?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings