Open
Description
i want to allow a user to create a rule for a custom field.
so the user experience would be something like:
click add rule
select something like "Custom" from the field select dropdown
this would generate a text input (for the custom field name), an operator dropdown, and a second text input (for the custom field value).
so the user could do something like "custom_field" = "some value"
.
desired output to jsonLogic would look something like {"==":[{"var":"custom.custom_field"},"some value"]}
i have played with the !group
and !struct
types but they don't quite do what i'm looking for.
is there a way to do this?