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 / Textinput and Checkbox...
Power Apps
Unanswered

Textinput and Checkbox fields

(1) ShareShare
ReportReport
Posted on by 47

I am trying to build my app which includes textinput fields, checkboxes. 

 

My scenario is: 

If textinput 1, yes checkbox is marked moved to additional textinput 1 If Textinput 1 no checkbox I marked do not populate If Textinput2, yes checkbox is marked moved to additional textinput2 If textinput 2, no checkbox is marked do no populate If Textinput 1 no checkbox Is marked, and textinput 2 yes checkbox is marked, moved textinput2 to additionaltextinput , etc. 

 

I am only able to get Texinput 1 to move to additionaltextinput 1 but not any up if the field before that was blank.  Can anyone help me figure out how to write this out to function as I need to . 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at

    Hi @Heatherb208 

     

    Please please show in screens its so much easier to understand and make sure there are no miscommunications.

     

    Are you saying if TextInput 1, what it that? Are you saying if the TextInput.Text = 1???????

     

    And please separate out steps don't write a long sentence. Make it easy for us to help you not break out brains lol


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Heatherb208 Profile Picture
    47 on at

    My apologies, I hope this helps explain what I am looking for. 

     

    If textinput1, yes checkbox is marked, add this to additionaltextinput1

    If textinput1 no checkbox I marked, do not populate in additionaltextinput1

     If Textinput2, yes checkbox is marked, add this to additionaltextinput2 

    If textinput2, no checkbox is marked do not populate in additonaltextinput2

     If textinput1 no checkbox Is marked, and textinput2 yes checkbox is marked, move textinput2 to additionaltextinput1 , etc. 

     

    Textinput1, Textinput2, AdditionalTextinput1, AdditonalTextinput2 are the name of my text input fields.

  • Heatherb208 Profile Picture
    47 on at

    I have been doing more work to this, and I have got the data to move over and populate one text field up, however it still populates in its correlating field, which I do not want to have happen if the text moves up.   Here is the code I have written in the Default of the fields, with a screenshot of what it looks like with this code.  Any advise of how to get it to not show up in the specific field if it moves up? 

    AdditionalTextInput1 Default:

     

    If(
        Checkbox1.Value = true, TextInput1.Text,
        Checkbox1.Value = false && Checkbox2.Value = true, TextInput2.Text,
        Checkbox1.Value = false && Checkbox2.Value = false && Checkbox3.Value = true, TextInput3.Text,
        Checkbox1.Value = false && Checkbox2.Value = false && Checkbox3.Value = false && Checkbox4.Value = true, TextInput4.Text,
        Checkbox1.Value = false && Checkbox2.Value = false && Checkbox3.Value = false && Checkbox4.Value = false && Checkbox5.Value = true, TextInput5.Text,
        Checkbox1.Value = false && Checkbox2.Value = false && Checkbox3.Value = false && Checkbox4.Value = false && Checkbox5.Value = false && Checkbox6.Value = true, TextInput6.Text,
        ""
    )

     

     

    AdditionalTextInput2 Default:

    If(
        Checkbox2.Value = true, TextInput2.Text,
        Checkbox2.Value = false && Checkbox3.Value = true, TextInput3.Text,
        Checkbox2.Value = false && Checkbox3.Value = false && Checkbox4.Value = true, TextInput4.Text,
        Checkbox2.Value = false && Checkbox3.Value = false && Checkbox4.Value = false && Checkbox5.Value = true, TextInput5.Text,
        Checkbox2.Value = false && Checkbox3.Value = false && Checkbox4.Value = false && Checkbox5.Value = false && Checkbox6.Value = true, TextInput6.Text,
        ""
    )

     

     

    AdditionalTextInput3 Default:

    If(
        Checkbox3.Value = true, TextInput3.Text,
        Checkbox3.Value = false && Checkbox4.Value = true, TextInput4.Text,
        Checkbox3.Value = false && Checkbox4.Value = false && Checkbox5.Value = true, TextInput5.Text,
        Checkbox3.Value = false && Checkbox4.Value = false && Checkbox5.Value = false && Checkbox6.Value = true, TextInput6.Text,
        ""
    )

     

    AdditionalTextInput4 Default:

    If(
        Checkbox4.Value = true, TextInput4.Text,
        Checkbox4.Value = false && Checkbox5.Value = true, TextInput5.Text,
        Checkbox4.Value = false && Checkbox5.Value = false && Checkbox6.Value = true, TextInput6.Text,
        ""
    )

     

    AdditionalTextInput5 Default:

    If(
        Checkbox5.Value = true, TextInput5.Text,
        Checkbox5.Value = false && Checkbox6.Value = true, TextInput6.Text,
        ""
    )

     

    AdditionalTextInput6 Default:

    If(
        Checkbox6.Value = true, TextInput6.Text,
        ""
    )

    Heatherb208_0-1720712532541.png

     

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