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 / Patch multi texts to s...
Power Apps
Answered

Patch multi texts to sharepoint on different lines and disable button

(0) ShareShare
ReportReport
Posted on by

Hello ,

 

I would really appreciate some help on this . 

 

What I'm trying to do is Patch multi textInputs into one column but I want them to be the one under the other if that is possible. What I have so far thanks to @RandyHayes help on a previous post is this

 

 DisclosedComment:Concat([TextInput1_7, TextInput1_8, TextInput1_9, TextInput1_10,TextInput1_11,], Value.Text & Char(13)),

 

It will work if I use it to combine all those textinputs into one but it will not work with the patch so it can show the one under the other on my SharePoint list.

 

Also one more thing when I have a button that is disabled when some things are not filled. I am having an issue with the checkbox

and the dropdown . What I have is this: 

 

If(
 IsBlank(Rquestion1.Selected.Value) || IsBlank(Rquestion2.Selected.Value) || IsBlank(Rquestion3.Selected.Value) || IsBlank(Rquestion4.Selected.Value) || IsBlank(Rquestion5.Selected.Value) || IsBlank(Rquestion6.Selected.Value) || IsBlank(Rquestion7.Selected.Value) || IsBlank(Rquestion8.Selected.Value) || IsBlank(Rquestion9.Selected.Value) || IsBlank(Rquestion10.Selected.Value) || IsBlank(Rquestion11.Selected.Value)|| IsBlank(Rquestion12.Selected.Value) || IsBlank(Rquestion13.Selected.Value) || IsBlank(SSN1.Text) || Checkbox1.Value || Checkbox1_1.Value, 
 DisplayMode.Edit,
 DisplayMode.Disabled

 

When I do that the last too Check box 1 and check box1_1 if both are not checked it is working fine but when Click one of the do the button gets activated. Is there something I am doing wrong . Also is there a way i can add my combobox1 on there ? 

 

I know it is a lot  and I really appreciate any help you can give me. 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Thanasis 

    For the second part, yes, you are seeing the correct action based on your formula.  You are using logical OR's for your condition.  If ANY of the items in that long list becomes true, then the mode will be Edit.

    So, as soon as you check on checkbox, that will make it true and thus edit.

    If you want it so that BOTH checkboxes must be checked, then change your formula to the following:

    If(
     IsBlank(Rquestion1.Selected.Value) || IsBlank(Rquestion2.Selected.Value) || 
     IsBlank(Rquestion3.Selected.Value) || IsBlank(Rquestion4.Selected.Value) || 
     IsBlank(Rquestion5.Selected.Value) || IsBlank(Rquestion6.Selected.Value) || 
     IsBlank(Rquestion7.Selected.Value) || IsBlank(Rquestion8.Selected.Value) || 
     IsBlank(Rquestion9.Selected.Value) || IsBlank(Rquestion10.Selected.Value) || 
     IsBlank(Rquestion11.Selected.Value)|| IsBlank(Rquestion12.Selected.Value) || 
     IsBlank(Rquestion13.Selected.Value) || IsBlank(SSN1.Text) || 
     (Checkbox1.Value && Checkbox1_1.Value), 
     DisplayMode.Edit,
     DisplayMode.Disabled
    )

     

    As for the first issue.  Can you provide more details on the DisclosedComment column in your datasource?

     

  • Thanasis Profile Picture
    on at

    Hello,

    Yes that worked like a charm @RandyHayes. Thank you for that. Can I also add my combox1 in that formula so basically if nothing is selected on that combo box the button should be disabled.? 

     

    About the Second part. The first entry is how my results come into SharePoint and the second entry is how I want them to come in. The column is just a multi lines of text. 

    Thanasis_1-1610645428000.png

    Any ideas I would really appreciate. 

     

    Thank you 

     

     

     

     

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Thanasis 

    Yes, Change your formula to the following:

    If(
     IsBlank(combobox1.Selected.Value) ||
     IsBlank(Rquestion1.Selected.Value) || IsBlank(Rquestion2.Selected.Value) || 
     IsBlank(Rquestion3.Selected.Value) || IsBlank(Rquestion4.Selected.Value) || 
     IsBlank(Rquestion5.Selected.Value) || IsBlank(Rquestion6.Selected.Value) || 
     IsBlank(Rquestion7.Selected.Value) || IsBlank(Rquestion8.Selected.Value) || 
     IsBlank(Rquestion9.Selected.Value) || IsBlank(Rquestion10.Selected.Value) || 
     IsBlank(Rquestion11.Selected.Value)|| IsBlank(Rquestion12.Selected.Value) || 
     IsBlank(Rquestion13.Selected.Value) || IsBlank(SSN1.Text) || 
     (Checkbox1.Value && Checkbox1_1.Value), 
     DisplayMode.Edit,
     DisplayMode.Disabled
    )

     

    As for the split lines - sorry I should have given you the correct character code.  Change Char(13) to Char(10) 

  • Thanasis Profile Picture
    on at

    Thank you @RandyHayes  everything worked 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard