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 / Placeholder for form f...
Power Apps
Unanswered

Placeholder for form fields input

(0) ShareShare
ReportReport
Posted on by 2,295

Hello,

I've been searching the documentation, and the web but can't find an answer for a very basic question:

How to add a placeholder in the fields of a form in PowerApps?

eg: $1.000,00 

So the user knows she must type a number and this is a USD value field.

 

Thanks a lot!

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    Select the Textbox and go for the HintText property and put what you want there:

    HintText.JPG

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • WebPortal Profile Picture
    2,295 on at

    @eka24 thank you so much, that was easy 🙂

    Just one more thing, if I may: how to format the number of the field to 1.000,00?

    That is, dots for thousands separators and commas for decimals.

    Cheers

  • mdevaney Profile Picture
    29,989 Moderator on at

    @WebPortal

    Looks like I posted once @eka24 already had a good solution.  I must have missed it... so I am removing my post 😉

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • GarethPrisk Profile Picture
    2,828 on at

    Additionally, you can limit the input to only numbers using the Format property of the TextInput. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-text-input

     

    I realize this will preclude users from entering a $, or ',' but it can be helpful for ensuring that only numbers are being entered/used. A useful approach for this is to have one control for input (TextInput as a number), and another for showing the value with a particular format (such as currency). There are a few examples of ways to format your number as currency here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text#number

  • WebPortal Profile Picture
    2,295 on at

    Ok, but how/where to enter the "Text" function.

    In Excel, this would be "Format Cells..." in the context menu...😊

    Anotação 2020-04-18 130743.png

     

     

  • GarethPrisk Profile Picture
    2,828 on at

    See the sample app attached. Go to https://us.create.powerapps.com/studio/# and then Open, and select the file (after you download it).

     

    Basically, I've placed a Label over a TextInput. Using a variable, they will toggle the visibility of one of the control's, while the other's visibility is the inverse. Meaning - they won't ever be visible at the same time.

     

    OnChange function for TextInput

    UpdateContext({locShowLabel:true})

    Visible Properties:

    • Label: locShowLabel
    • TextInput: !Label.Visible

     

    Then the Text property of the Label is the Text function we described, while the TextInput is a number input mechanism only.

    Text(Value(TextInput1.Text), "[$-en-US]$#,### USD")

     

    Hope this helps! You'll obviously need to adjust to your needs. FYI: you can copy controls from Studio session to Studio session, if you want to copy these over as starting points.

  • WebPortal Profile Picture
    2,295 on at

    Interesting solution, thanks for sharing!

     

    PS:
    In JavaScript / JQuery this a lot easier to do, I'd say a low-code platform should not be so complicated.

  • AntoinetteB Profile Picture
    145 on at

    How would one find the Hint Text property on a Choice field?  I would like to change the placeholder text "Enter value here" to something else, but I cannot find the correct property in Power Apps.  There is no Hint Text property.  Thanks.

  • Community Power Platform Member Profile Picture
    on at

    How can i add a Placeholder for form fields input to Model driven app in Power app instead of empty text box i wanted add a place holder.. Please help me on this.

     

    Srilu_0-1681926625465.png

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard