Hello,
i am new to powerApps, and facing some issues with activation/deactivation of datacards.
basically i have DataCardValue15 witch is a list with several choices and i would like to activate DataCardValue13 (witch is a list as well) based on the content selected on DataCardValue15
----------------------- i am trying this , without success there is no error bur DataCardValue15 is always disabled regardless of DataCardValue15 choice.
DataCardValue13
DisplayMode = If(DataCardValue15.Selected.Value = "Equipment" ;DisplayMode.Disabled;DisplayMode.Edit)
Thanks for any help
Solved! Go to Solution.
Ok, your formula is backwards. It looks like you are using a different language version of Power Apps. Is your separator for these commands a ';'? If so, try the formula below as is, if your separator should be a comma please replace the ';' with commas.
If(DataCardValue15.Selected.Value = "Equipment" ;DisplayMode.Eidt;DisplayMode.Disabled)
Can you put a label somewhere on the screen and set it's text value to DataCardValue15.Selected.Value and verify that the value is what you expect?
Thanks for the reply;
the label picks up the right selection from DataCardValue15.Selected.Value
DisplayModes for data cards can be strange. Let me just verify, if the selection in DataCardValue15 is 'Equipment', you want DataCardValue13 to be disabled, but if it's not 'Equipment' it should be in edit mode?
if the selection in DataCardValue15 is 'Equipment', i want DataCardValue13 to be in edit mode ,
if DataCardValue15 is not 'Equipment' i want DataCardValue13 to be disabled
Ok, your formula is backwards. It looks like you are using a different language version of Power Apps. Is your separator for these commands a ';'? If so, try the formula below as is, if your separator should be a comma please replace the ';' with commas.
If(DataCardValue15.Selected.Value = "Equipment" ;DisplayMode.Eidt;DisplayMode.Disabled)
It worked thanks a lot; i will apply it to all required cases; then will move to my next issue 🙂 i have a list of them
Thanks again
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
181 | |
137 | |
96 | |
83 |