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 / Put multible text into...
Power Apps
Answered

Put multible text into a textfiled if checkbox is activated

(1) ShareShare
ReportReport
Posted on by 20

Hello together,

 

I'd like to set the value of a textbox to a certain text if a checkbox is activated. It should also be possible to do that with multible texts, so these single texts are inserted one after another. For examle: 

 

Checkbox1 = value: The text "Test" gets inserted into Label1

Checkbox2 = value: The text "_Test2" gets inserted into the Label1 right after the test "Test" --> "Test_Test2"

 

How would the syntax be constructed?

 

Thanks,

Maurice

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @MauriceThere are several ways to do that. The simpliest I though of is just having two check boxes and one text label:
    step1.png

    In the Label1 Text property enter a function like this:

    "Text" & If(Checkbox1.Value," Checked 1","") & If(Checkbox2.Value," Checked 2","")

    The If statement would check if the checkbox is seleted and if it is output some text.

     

    step2.png

     

    Running the app you get the following results:

    Both checkboxes selected:

    step3.png

    None of the boxes selected:

    step4.png

    One of the box is selected:

    step5.png

  • Maurice Profile Picture
    20 on at

    Hi @Anonymous,

     

    Your solution works!

     

    Thanks,

    Maurice

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard