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 / 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
    37,212 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard