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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Data card value didn't...
Power Apps
Answered

Data card value didn't display a text

(0) ShareShare
ReportReport
Posted on by 54

Hi,

I hope that when I type text in text input1 , Data Card Value1 will display the text I typed, I entered the following code in default of Data Card Value1

:If(Text Input 1. Text, " ")

 

It doesn't show error, but when I try it by pressing F5, Data Card Value1 is blank How should I modify my code?

 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @Tan_Jia_Ying ,
    The text will be displayed based on what you enter. You can let the default property of text input be empty in case of new form. If you are using edit form, the Default property will be Parent.Default. 


  • Verified answer
    timl Profile Picture
    36,415 Super User 2025 Season 2 on at

    @Tan_Jia_Ying 

    You can just set the default property of DataCardValue1 to TextInput .Text

    There's no need for the If statement.

  • Tan_Jia_Ying Profile Picture
    54 on at

    Thank you. It's work!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard