web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Changing value/text in...
Power Apps
Answered

Changing value/text in one text box based on another text box

(0) ShareShare
ReportReport
Posted on by 51

Hi, im new to Power Apps and I am trying to build a form wherein the user will input a number in TextBox1 (duration/length of event) then TextBox2 (hour of end time) will change - adding the number of hours from TextBox3 (hour of start time) and TextBox1 (duration) to get the corresponding end time in TextBox2.

 

Any help is appreciated.

 

Thank you! 

Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,968 Moderator on at

    hi @kdc02 

     

    Do this, in the Text property of the TextBox, (note you should use a TextLabel, so they cannot change the value)

    If(!IsBlank(TextBox1.Text) && !IsBlank(TextBox3.Text), Value(TextBox1.Text) + Value(TextBox3.Text), Blank())

     It will validate that they not blank and if they both are NOT blank they it will add them together and that becomes what you see in TextBox2.Text

    =
    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • kdc02 Profile Picture
    51 on at

    Hi @FLMike, works like a charm. Thank you!

     

    Would you know how to make it work for another text input, and not text label?

  • Michael E. Gernaey Profile Picture
    53,968 Moderator on at

    @kdc02 

     

    If you can mark my answer as the Answer/Resolved and a thumbs up I would appreciate it

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard