Hi Guys,
I use Choice component as selector in one multi level hierarchy and FilterData from columns storing selected items values. Choice1> store value1 next Choice2>store value2 after Choice3> storeValue3, but I can’t use Action to clear stored values. I the user go back and reselect Choice1 normally we need to clear stored values from step2 and 3. Without Action on this Choice component how to make? Tips or proposals
Regards
Can you show screenshots, I am a bit confuse about the “go back” thing.
Usually this involves a bit of cross-validation. I don’t recall how it works in native forms, but the problem is like this in custom forms:
- You have some level 1 choices like Category 1, Category 2, Category 3.
- You have some level 2 choices like Subcategory 1.1, Subcategory 1.2, etc.
- When you choose Category 1 as level 1, and then Subcategory 1.1 for level 2, but then go back and choose Category 2 for level 1, the Subcategory 1.1 value is filtered out for level 2, but the underlying value is still there, so it’s not truly “empty/not chosen”.
You are in one form page and had 3 choice selectors to filter, You select Choice1 (keep some value), next Choice2(keep another value), next selector3(keep a last value; all values are used as filters), but you are wrong and come back without reload your form to selector to change Choice1 or Choice2.
Your have now errors on filters because you need to clear your stored values using an Action( set value, but Actions are not allowed in Choice component). How to clear values if Choice not allow to use.
Thats is the problem : clear stored values in the Userprofile from Choice component.