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.
Solved! Go to Solution.
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)
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?
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.
Any ideas I would really appreciate.
Thank you
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)
User | Count |
---|---|
261 | |
110 | |
90 | |
54 | |
44 |