[Solved] Where are the umbraco forms 'condition op...
# help-with-umbraco
l
Hi all, I'm creating a custom property that works similar to how form conditions work, and was hoping to use the same condition operators, hoping to get the ones Umbraco forms uses, and use the same ones, instead of having a random list in my custom controller.js file. These are currently set to the likes of 'is', 'is not', 'is greater than' etc etc I have checked the docs, https://docs.umbraco.com/umbraco-forms/editor/creating-a-form/conditional-logic but cant find anything relating to where these are stored, updating them etc. My actual question is, where are these condition operators stored? Are they hard coded? Is it possible to get them programmatically? Picture of what im trying to get attached https://cdn.discordapp.com/attachments/1222875675736805556/1222875676013760512/image.png?ex=6617ceb9&is=660559b9&hm=b61f82b295cb77108c8db02c1f7597ccaa339295aea74f51de84754cf0ca85bc&
I can answer my own one here, they are defined as an enum, with the enum value being the select value and a summary on each one as the nice 'is not' text.
9 Views