Announcements
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!
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 othersCheersThank YouMichael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsofthttps://gernaeysoftware.comLinkedIn: https://www.linkedin.com/in/michaelgernaey
Hi @FLMike, works like a charm. Thank you!
Would you know how to make it work for another text input, and not text label?
@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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 335 Most Valuable Professional
11manish 165
MS.Ragavendar 96 Super User 2026 Season 1