cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

add + and - buttons

Hi everybody. 

I'm new in this world of powerapps.

 

So i would like some help about this idea. I attached a photo to be used as an example.
I have empty list in sharepoint that should record data in 4 columms. Date, Name, # NFC, # BT.

 

The main idea is to use the + or - button to count a number of events and in the end of the day, we can just push the save button and this datas will be recorded.

 

Thanks in advance

3 REPLIES 3
Dual Super User II
Dual Super User II

Hi @arthurvf 

 

Numeric up down control (check its code and implement the same in your App) 

https://powerapps.microsoft.com/en-us/blog/powerapps-ten-reusable-components/

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Community Support
Community Support

Hi @arthurvf ,

Do you want to change value in textinput by clicking buttons?

 

I've made a similar test for your reference:

1)insert a textinput and two buttons

2)Set the textinput format: Number

                              Default: var

                              OnChange: Set(var,Value(TextInput5.Text))

3)Set the Up button's OnSelect: Set(var,var+1)

                Down button's OnSelect: Set(var,var-1)

 

Then, you could change the textinput value by clicking the two buttons.8276.PNG

 

 

What's more, using component like @RezaDorrani listed is ok too.

The way is very similar, just see the three controls as one component.

You could refer this bog:

https://powerapps.microsoft.com/en-us/blog/components-start-your-journey-with-reusable-controls/

The first video is talking about how to customize NumericUpDown Control.8277.PNG

 

Using component is quite amazing, you could customize its property. I think this is a way to customize control.

 

 

Best regards,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thankyou @RezaDorrani and @v-yutliu-msft 

 

My problem, now, is to connect this component to my existent app. 

Helpful resources

Announcements
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,035)