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 / Default Value of Text ...
Power Apps
Answered

Default Value of Text Input

(0) ShareShare
ReportReport
Posted on by

Hello ! Is it possible to have a default value on a text field and also call out a variable? 

 

Or do i need to set me default value else where (On start?) and only have my variable in the default event? 

 

jubae22_0-1692903115497.png

 

Categories:
I have the same question (0)
  • rpersad Profile Picture
    831 on at

    To join strings together you have to use the "&", or you can use the Concatenate function

  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @jubae22,

     

    Would you like to display 0 and the value of the variable? In this case you can use the & operator to concatenate the values:

    "0" & updatemonday

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • CU30071822-0 Profile Picture
    on at

    I only want to display the zero and the variable is for a onselect button to turn the value back to zero 

     

    I don't want it to display the double zeros as its doing now with the & 

     

    jubae22_0-1692904677288.png

     

  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @jubae22,

     

    In that case, I think referencing the variable name should suffice:

    updatemonday

     

  • CU30071822-0 Profile Picture
    on at

    Your right just the variable name did the trick for the default 0 but for some reason my variable is not running when I'm calling out the update context 

     

    jubae22_0-1692906111317.png

     

    jubae22_1-1692906150831.png

     

  • CU30071822-0 Profile Picture
    on at

    Maybe this will help to see what im trying to accomplish: 

     

    so i have this pop up if they click yes then it keeps the new value they entered... if they click no then it reverts the field back to "0"

    jubae22_2-1692906292126.png

     

     

  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @jubae22,

     

    In that case you could use the Reset function to reset a particular control back to its default value:

    Reset(TextInputMonday)

     

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 481

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
11manish Profile Picture

11manish 291

Last 30 days Overall leaderboard