Required fields
FreeLogic@rabbinatix/required-fields by Rabbinatixupdated Oct 4, 2026
Lists which of the required fields of a record are missing or blank.
Field names come in as data, so this works for any form. Entries lists the record, Filter keeps the filled-in ones and Map takes their names; then For Each required field, Array Contains says whether it was filled.
Shows: Entries, Filter, Map, For Each, Array Contains, Append to a list variable.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Required fields. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
record: Record
fields: List of texts
Outputs
valid: Yes / No
missing: List of texts
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 3 outputs. step 1 of 13
Required fields
record
fields
Entries, Object. 1 input, 1 output. step 3 of 13
Entries
object
entries
Filter, Collection. 1 input, 1 output. step 4 of 13
Filter Is filled in
array
result
Map, Collection. 1 input, 1 output. step 5 of 13
Map Field name
array
result
For Each, Flow control. 2 inputs, 4 outputs. step 2 of 13
For Each
array
Loop Body
element
index
Completed
Array Contains, Collection. 2 inputs, 1 output. step 6 of 13
Array Contains
array
item
result
NOT, Operators. 1 input, 1 output. step 7 of 13
NOT
value
result
Branch, Flow control. 2 inputs, 2 outputs. step 8 of 13
Branch
condition
True
False
Get Variable, Data. 0 inputs, 1 output. step 9 of 13
Get missing
value
Append, Collection. 2 inputs, 1 output. step 10 of 13
Append
array
item
result
Set Variable, Data. 2 inputs, 2 outputs. step 11 of 13
Set missing
value
value
Is Empty, Validation. 1 input, 1 output. step 12 of 13
Is Empty
value
result
Return, Input / output. 3 inputs, 0 outputs. step 13 of 13
Return
valid
missing
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Two missing | {"record":{"name":"Ada","email":" "},"fields":["name","email","phone"]} | {"valid":false,"missing":["email","phone"]} | |
| All there | {"record":{"name":"Ada"},"fields":["name"]} | {"valid":true,"missing":[]} |
Try it
Versions
In this package
Required fields (entry)
Is filled in
Field name
