Faster data entry with the SetFocus function

Faster data entry with the SetFocus function

I have built many mobile apps and it was a great deal of frustration that there was not support for pre defining the tab order for users.

Well not anymore, I just came to know that PowerApps team has released the SetFocus function for Canvas apps! Now, Your users can enter data faster and in predefined order. Also, you can validate those input values and set focus to invalid input fields.

This approach allows our users quickly provide input values using tab key or touch or mouse or other gestures and boost the accessibility.

SetFocus( Name )

Above line will allow to set focus to Name attribute on load. More complex usage includes validating the mandatory fields and then setting focus to that field which do not meet the validation criteria.

If( IsBlank( Name ), Notify( "Name requires a value", Error ); SetFocus( Name ))

Read more about this at https://powerapps.microsoft.com/en-us/blog/faster-data-entry-with-the-setfocus-function/

要查看或添加评论,请登录

Hemendra Patel的更多文章

社区洞察

其他会员也浏览了