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

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
    776 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

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