I have two control; Toggle and Dropdown.
Intent is - If User is either Hierarchy 'Park' or 'Employee' Dropdown should default to 'Disabled' and Toggle should default to 'View'. Will the below achieve my goal?
Toggle DisplayMode and Visible have the following -
DisplayMode: If(varProgramHierarchy="National",Edit,View)
Visible: true
Dropdown DisplayMode and Visible have the following - (should the below be and If(Or...) condition?)
DisplayMode: If(SnapSiteStatusToggle.Value=false,Disabled) & If(varProgramHierarchy="Park",Disabled) &
If(varProgramHierarchy="Employee",Disabled)
Visible: true
Solved! Go to Solution.
It should work. but I would rewrite your dropdown DisplayMode formula like this: (Use && instead of &. & Is for concatenation)
DisplayMode:
If(
SnapSiteStatusToggle.Value=false &&
varProgramHierarchy="Park" &&
varProgramHierarchy="Employee",Disabled
)
It should work. but I would rewrite your dropdown DisplayMode formula like this: (Use && instead of &. & Is for concatenation)
DisplayMode:
If(
SnapSiteStatusToggle.Value=false &&
varProgramHierarchy="Park" &&
varProgramHierarchy="Employee",Disabled
)
Do you have any thoughts about why a Combo Box would ONLY allow one letter to be entered at a time in the 'search' field? My Combo Box use to work just fine, now when I try the search function, when I open the box and type a letter the box immediately closes. When I reopen the box the letter is still there, I enter another letter and it closes again. I have to do this four times jus to get my intended site entered into the search field of the Combo Box.
The Combo Box has the following; it returns the User locations first by default and then shows all other locations.
Items: LocationCollection
Default:
IsSearchable: true
OnChange: Set(varImage,SnapParkAlphaComboBox.Selected.Park)
SelecteMultiple: false
DefaultSelectedItems: Sort(Filter(ParkListCollection, Park = varParkAlpha), Park, Ascending)
I saw that very thing not too long ago in another post. let me see if I can find it.
Edit:
It was you! What I would do is delete the combobox after copying any formulas to a notepad file. Save your app without changing anything else, then re-add the combobox and name it the same name. Add your formula's back.
The other thing I would check is to see if you accidentally put a formula in any of the other properties of the combobox that should have gone somewhere else.
User | Count |
---|---|
122 | |
86 | |
83 | |
74 | |
69 |
User | Count |
---|---|
215 | |
179 | |
141 | |
108 | |
83 |