cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Continued Contributor
Continued Contributor

Numeric Keypad

@KroonOfficeSol

I have applied the steps in your video for creating a numeric keypad -- thank you for that video.  Now, I would like to take it one step futher and utilize the num keypad for entering data into all the 'number' fields on my screen.  If user selects Work Year input field, that field will update, if Line Segment selected, then that fields populates from the numeric keyboard selections, etc. Can you advise on how to adapt the formula to work in the manner described?  Thank you.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Continued Contributor
Continued Contributor

Disregard - I finally figured this one out.  

View solution in original post

12 REPLIES 12
Highlighted
Continued Contributor
Continued Contributor

Disregard - I finally figured this one out.  

View solution in original post

Highlighted

Hi @tianaranjo,

It's great that you've figured this one out--are you able to describe it so others can learn from you too? 🤓

Microsoft Employee
@8bitclassroom
Highlighted
Continued Contributor
Continued Contributor

@mr-dang

Absolutely will share -- there are a couple of other parts I'm working on so it is fully functioning.  Once I iron out a few additional issues, I'll post back full solution here.

 

On another note, I am enrolled in the PowerApps session being taught by you and D Christian at the  upcoming summit; looking forward to learning from you both!

Highlighted

@tianaranjo, I'm looking forward to seeing you there 🙂

Microsoft Employee
@8bitclassroom
Highlighted
Continued Contributor
Continued Contributor

@mr-dang @Shanescows

Greetings, 

I have applied a variety of solutions to acheive the numeric keypad including easing equations and other methods described in Shane's animation video. One annoying issue I am running into is that the keypad flashes when a user navigates from the home screen to the 'New' screen. It only does it once, upon startup of the app.  After the first time a user clicks on the 'Add' and navigates back to home and back to 'Add' the keypad does not flash again.  I have the visibility of the keypad set to be hidden on startup of the app:

Set(NumKeyVis, false)

The variable is triggered to true when the first numeric field is selected.

Any thoughts on what I can do to ensure that the keyboard doesn't 'flash' on navigate?

 

The attached video, approx. 2 seconds in, you will see this behavior in action.

Apologize for the overlays - the fields and some info is confidential.

Thank you!

Highlighted

You can set a timer to artifiically wait 1-2s or you can set the visibile property of the gallery to only appear when the collection is not empty:

!IsEmpty(collection)

Let me know if there is still a flicker if you try that.

Microsoft Employee
@8bitclassroom
Highlighted
Continued Contributor
Continued Contributor

@mr-dang

Another question for you - how can I add another If statement to the easing equation?  

 

I have tried a variety of methods yet nothing is actually triggering the second If statement.  Any thoughts?

 

 

OnSelect
Your code:
Set(Show, !Show); If(!Show, Set(hide, true))

My atteempts:
Set(Show, !Show);
If(!Show,
Set(hide, true), Set(keypadRaise, false))
Set(Show, !Show);
If(!Show,
Set(hide, true); Set(keypadRaise, false))
Set(Show, !Show);
If(!Show, Set(hide, true));
Set(Show, !Show);
If(!Show, Set(keypadRaise, false))

Set(Show, !Show);
If(!Show, Set(hide, true));
If(!Show, Set(keypadRaise, false))
Set(Show, !Show);
(If(!Show, Set(hide, true)));
(If(!Show, Set(keypadRaise, false))
)

 

Highlighted

@mr-dang - I haven't submitted an app attachment before so let me know if there is a better method.  As promised, attached is a numeric keypad that will allow a user to enter input into mulitple fields using a Numeric Keypad.  To hide the keypad, click the 'down' icon under the '0".

I tried to comment as much as possible and some controls are shown that would normally be hidden.

 

Credit to @mr-dang and @KroonOfficeSol for solutions used in this app.

Highlighted

This numpad kicks apps!

 

I think another good central location for this is the Community App Gallery:

https://powerusers.microsoft.com/t5/Community-Apps-Gallery/bd-p/AppFeedbackGallery

 

@KroonOfficeSol, when I saw the numpad come up on @KickingApps's screen, I could not distinguish it from an iOS offering. I love seeing members in the community benefit from the sharing of other members--major Kudos!

 

Would you or Paul like to blog about the numpad setup and the logic behind the show/hide?

Microsoft Employee
@8bitclassroom

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (12,898)