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 / Help with hint text
Power Apps
Answered

Help with hint text

(1) ShareShare
ReportReport
Posted on by 149

I have a simple gallery. I can add items to it and update an item when it is selected.

 

When nothing is selected and an item is to added a simple hint text should be displayed, but when an item is selected I should see that data in the fields to be updated.

 

How can I do that?

 

StefWS_0-1659517378097.png

 

Categories:
I have the same question (0)
  • Verified answer
    Akash17 Profile Picture
    549 Super User 2024 Season 1 on at

    Hi @StefWS 

    Screenshot (30).png

    Just select the textfield and apply OnSelect property of the form below formula or as shown in image

    your Galleryname.selected.AnyFieldName

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    You will have to set default value of input fields, for example for FirstName text input you can set default value to -> Gallery1.Selected.FirstName

  • StefWS Profile Picture
    149 on at

    Now an item is always staying selected and the fields are filled with that item. The fields are cleared (reset) after something is added or updated, but how do I clear the selection?

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    OnSelect property of Save button, set a variable varReset to true -> Set(varReset, true)
    In default property of First Name add below formula - 
    If(varReset, "", Gallery1.Selected.FirstName)
    And on Gallery OnSelect property, Set varReset to false -> Set(varReset, false)

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 739 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 268

Last 30 days Overall leaderboard