Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

 

  • Verified answer
    LaurensM Profile Picture
    12,510 Super User 2025 Season 1 on at
    Re: Default Value of Text Input

    Hi @jubae22,

     

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

    Reset(TextInputMonday)

     

  • CU30071822-0 Profile Picture
    on at
    Re: Default Value of Text Input

    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

     

     

  • CU30071822-0 Profile Picture
    on at
    Re: Default Value of Text Input

    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

     

  • LaurensM Profile Picture
    12,510 Super User 2025 Season 1 on at
    Re: Default Value of Text Input

    Hi @jubae22,

     

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

    updatemonday

     

  • CU30071822-0 Profile Picture
    on at
    Re: Default Value of Text Input

    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,510 Super User 2025 Season 1 on at
    Re: Default Value of Text Input

    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!

  • rpersad Profile Picture
    726 on at
    Re: Default Value of Text Input

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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard