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 / If toggle value true t...
Power Apps
Unanswered

If toggle value true text box appears. Display text into details screen.

(1) ShareShare
ReportReport
Posted on by 18

Need some help.

 

I'm using the toggle function to ask new users if they need building/security access. If yes a text box will appear and more information can be gathered. If no then the text box stays hidden. I have this part down the part I'm struggling with now is how do I get what the user inputs into the text box to show on a separate Details Screen I have that shows all the selections the user made on the forms page?

Categories:
I have the same question (0)
  • Verified answer
    poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    From the OnChange of the Text Input Control on first screen

    Set(myVar01,Self.Text)

    Suppose you have a Label on the other screen

     From the Text property of the Label on the other screen:

    myVar01

    See if it helps @IrisJim  

  • IrisJim Profile Picture
    18 on at

    Awesome! that worked! Thank you.

  • IrisJim Profile Picture
    18 on at

    Follow up question. If I wanted to take it further and include that data in an email body what would the syntax for that be? 

     

    I'm currently pulling the data entered into my form and sending it in the body of an email now I'm just lacking the correct syntax to include the new data in the text box from the toggle into the email.

     

    The portion of the code I'm using to send this section of the email is:

    &"<br> Building/Security Access:"&" "&EditForm1.LastSubmit.'Building/Security Access'

     

    With that string of code it's sending out the yes/no function in the email but I would like the entered text included as well.

  • Verified answer
    poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @IrisJim 

    Instead of &EditForm1.LastSubmit.'Building/Security Access'

    put &YourTextInputControl.Text

    , or if you don't want to replace it, do this:

     

    //pseudocode
    &"<br> Building/Security Access: " & EditForm1.LastSubmit.'Building/Security Access'
    &"<br> Building/Security Access Text: " & YourTextInputControl.Text

     

     

    See if it helps @IrisJim 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard