Hi,
I have a view form with an edit button redirecting towards an edit form,
I want this button to show only if the "Domaine" value of the user list is the same as the "Equipe Principale" datacard value of the view form (link to another list in SharePoint),
I tried this formula on the visible property of the button :
If(Domaine.Text = DataCardValue2_1.SearchText,true,false)
This formula doesn't seem to work,
I have put screenshots of my app and list in attachments,
Thanks for helping,
Solved! Go to Solution.
Hi @Anonymous
What kind of control is this Datacardvalue? Is it a text input? A combobox?
It depends on what it is. In case of text input you use 'DataCardValue2_1.Text', in case of combobox you use DataCardValue2_1.Selected.Text
Hi,
Try this If(DataCardValue2_1.Text ="Equipe Principale" ,true,false)
Hope it will help.
Hi @Anonymous ,
I think you just have to use next:
If(Domaine.Text = DataCardValue2_1.Text, true, false)
Hi VDS , your formula will not work "Equipe Principale" is the label of the datacard, I want to check if the value of this same datacard is equal to the User's Domaine .
Hi @Anonymous
What kind of control is this Datacardvalue? Is it a text input? A combobox?
It depends on what it is. In case of text input you use 'DataCardValue2_1.Text', in case of combobox you use DataCardValue2_1.Selected.Text
Hi,
please try If(DataCardValue2_1.SearchText in Domaine.Text ,true,false) I've run into simmilar issues a couple of times and this always worked for some reason, even though there is no obvious reason for me as to why.
Sergiu
It's a combo box, I actually tried DataCardValue2_1.Selected.Text but Text isn't valid so I put value instead and it works perfectly,
Thanks for helping @SkiDK !
Hi @Sergiu_S ,
I have already tried that, and even if it doesn't show errors, it still doesn't work,
What works in my case (because the field is a combo box) is
User | Count |
---|---|
254 | |
106 | |
92 | |
47 | |
37 |