1) Set active textbox after the page is opened (may be property on the page?)
2) Set text box focus dynamically from AL (e.g. based on scanned barcode in one textbox, the focus moves to filed A or B based on the value, where user continues in entering the related data). This could be e.g. done through CurrPage.FieldName.SetFocus()
Setting focus helps partner to create easy and stable dataflow on the page for the enduser, which could be dynamic.
Comments
You can implement this yourselves in the WebClient
1. Create ControlAddin (1px) and add this one at the bottom of the page
2. Create a function in the ControlAddIn where you pass along the fieldname (=Caption) you want to select
3. With jQuery you can search in the HTML page the ID of this field. With this ID, you can construct the ID of the TextBox.
4. In default jQuery there is a function called .focus() you can use to set a focus on a TextBox or whatever you want.
In RTC you can use SendKeys to do what you need.
Category: Development
We had the same problem (NAV2017, universal app ). This feature would make the universal app viable for customers who need simple barcode scanning functions.
Category: Development
Hello,
We have the exact same problem here with Barcode scanners
Please bring this back :)
Category: Development
Yes, this is very important for scanning and for other user requirements.
Category: Development
We have the exact same situation in one of our implementation. I beg for this feature. :)
Category: Development
Business Central Team (administrator)
Thank you for your feedback. We are considering adding it to our longer term roadmap.