cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tianaranjo
Level 8

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
tianaranjo
Level 8

Re: Numeric Keypad

Disregard - I finally figured this one out.  

12 REPLIES 12
tianaranjo
Level 8

Re: Numeric Keypad

Disregard - I finally figured this one out.  

mr-dang
Level 10

Re: Numeric Keypad

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
tianaranjo
Level 8

Re: Numeric Keypad

@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!

mr-dang
Level 10

Re: Numeric Keypad

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

Microsoft Employee
@8bitclassroom
tianaranjo
Level 8

Re: Numeric Keypad

@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!

mr-dang
Level 10

Re: Numeric Keypad

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
tianaranjo
Level 8

Re: Numeric Keypad

@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))
)

 

KickingApps
Level 8

Re: Numeric Keypad

@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.

mr-dang
Level 10

Re: Numeric Keypad

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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 218 members 2,555 guests
Please welcome our newest community members: