Clear Geometry Picker When Form Element is Loaded
Hello,
I have a Form that uses a Button Bar to choose which Geometry Picker element to make visible for the user to access. There are five buttons that correspond to five different geometry pickers that are all set to not be visible by default. For example, if a user wishes to use the Point Geometry Picker, they just click the Point Button and a Click Event is ran that then sets the Visibility for that Geometry Picker (Point) to True. Same happens if they choose the Polyline, Polygon, and so on.
I would like however for the Geometry Pickers to be reset or just cleared if the user changes Picker options. So if a user first chooses the Point option and adds several Points, but then decides to change to the Polyline option, the locations in the Geometry Picker (Point) disappears. Right now, if the user were to switch between those options they would see their original locations would still be in the picker, even after switching back to it.
I've explored the Set Form Element activities and feel like that's the right direction but haven't had any success yet.
Any suggestions?
-
Hi Kevin Fowler ,
Try using the Set Form Element Items activity with inputs like this:
Also, for showing/hiding the geometry pickers you also have the option of using Section elements with a Style of “Tab”. This option is not yet available in Mobile or Desktop, though.
1
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar