cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BubbleGhost
Frequent Visitor

Make a button enter a value in a text field.

Hi Power App Community,

 

I have a request that should have a simple solution but I cannot figure out how to do it. 

 

I created a button and want that button to enter a value of 27 in a text input field. The text input field is later used in a calculation and I got that portion of it working. The text input field already has a number in there (6) and I want to replace that number with 27 every time I press this button. How do I do it using OnSelect? Any help is appreciated. 

11 REPLIES 11

@BubbleGhost
Missing a semi-colon

Set(myCustomValue, 27);
Reset(Text_Input_FieldName);

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

@mdevaney @David_Handke 

 

I finally got it working. It was the DEFAULT field under ADVANCED tab and not under PROPERTIES that finally got that variable to register. Thanks for your help!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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