web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Avoid field break when pressing enter in a field on a page

(0) ShareShare
ReportReport
Posted on by 131

Hello community first of all thanks for taking the time to read my question that I have, And share your knowledge with me

I comment on my situation


I did a development in business central this contains a pageextension with a new field in which a barcode is scanned and the value I put in this field and I run all my development in the onvalidate trigger  but when scanning the barcode it executes an enter to start the trigger code onvalidate

and the next field of the page is passed, is it possible to make it stay in the same field when doing an enter?

Since this way I would avoid clicking on the field before scanning many products

Thanks again for your time and knowledge. I am waiting for any response.


good day

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    I developed a similar page and I used this to stop the cursor from moving around and hitting enter: docs.microsoft.com/.../devenv-quickentry-property

  • Yael Suarez Profile Picture
    131 on at

    Thanks for your time look I did the following

    Page-image.PNG

    But at the time of scanning, it continues to go to the field below, it does not stay in the field that I indicate.

    page-image-2.PNG

    Thank you for your time and knowledge and I look forward to your response.

  • Suggested answer
    JAngle Profile Picture
    133 on at

    My bad. That property would have to be false on the other fields too. That way the cursor can’t move from the position you sit it in

  • Yael Suarez Profile Picture
    131 on at

    When you talk about the other fields you refer to all the fields in the header of the page

    I would have to make a page extension with a modify to all the fields that are seen on the page?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans