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 / Get default value of a...
Power Apps
Answered

Get default value of a Text input in Canvas

(0) ShareShare
ReportReport
Posted on by

I have three input text fields I want to patch to a dataverse table row. Each field has a default descriptive text applied, as due to space limitations I do not have a label next to them. So the default text is essentially a description such as 'name' 'description' etc. Each field may or may not be changed ( only 1 is required ). 

When I patch I do not want to insert the default text inot the database. So I want a way to build the insert knowing if the text has been changed or not.
Some sort of logic such as:

If (txtINPUT1.text !=  txtINPUT1.default, "changed", "not changed" ) 

I know I could 'hard code' the value check, but I don't like doing that as later the wording might be changed 

I looked at creating variables and tracking via on change - but this seems to require an 'enter' action to trigger and this might not occurs ( tablet users).

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @WAIT ,

     

    Could you please share more details about your scenario? What do you have in Default properties of the three Text Input? If you are hardcoding default values for the three controls, I don't think there is a better way to check if value is changed in each control. Speaking of Labels, I think you can use them next to the Text inputs but hidden. Hidden Labels' Text property can still be referenced on other controls.

    If (txtINPUT1.Text != Label1.Text, "changed", "not changed" ) 

     

    Bet regards,

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard