looking for a way to let user define a custom field for a rule
See original GitHub issuei 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?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Make a custom field required - Salesforce Help
Field level requirements · Click on Setup. · Go to Quick Find and enter Object. · Choose the object. · Under the Custom...
Read more >Use Custom Fields in rules | Trello | Atlassian Support
Custom Field variables. Your rule's actions can reference values in Custom Fields by using Custom Field variables. To reference a Custom Field's value...
Read more >Adding custom fields to your tickets and support request form
Creating custom ticket fields · In Admin Center, click Objects and rules in the sidebar, then select Tickets > Fields. · Click Add...
Read more >SAP Business One Custom Fields or User Defined Fields UDF's
This video will demonstrate how to create custom fields in SAP Business One and also how to change their location within the modules....
Read more >Create a custom field in Project - Microsoft Support
Create a custom field. In Grid view, select Add column > New field. Screen shot of Project showing Add column header and New...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@erickvieira , @megantaylor if anyone any of you were able to get through this / figure this out?
maybe, except i wanted to let the user define the key in a text input. i wound up not needing to do this, but it could be a useful feature for others.