cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
arthurvf
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
RezaDorrani
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

v-yutliu-msft
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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (3,017)