Page History
JIFF, JIF Filters or Raley Intake Forms Filters is the core concept of Raley Intake Forms. It helps you to define the rules and conditions for your fields and make forms more dynamic and "smart".
...
When rendered on the form it renders as a dropdown field like this
And actually has 5 values by default
ID | Label |
---|---|
1 | Highest |
2 | High |
3 | Medium |
4 | Low |
5 | Lowest |
In HTML the controls looks like this:
...
Which will be translated to - when a priority field has the highest priority selected show a field with name "description" (for example, this field is set to be hidden initially, on the form load, by using the "form rules")
More examples on JIF Filters
JIF Filter | Details |
---|---|
* | Matches all, same as when the condition is left blank |
summary:*urgent* | When summary field contains the word (full or partly) that match to "urgent" |
!summary:*urgent* | You can negate the filter with ! sign |
priority:[empty] AND summary:*urgent* | When priority is not specified and the summary field has the word "urgent" |
priority:[empty] !priority:[empty] | Checking for empty and non empty |
summary:*risk* OR label:highrisk | When summary field contains the word "risk" and the label field is set to "highrisk" |
(summary:[empty] AND priority:1) OR (!summary:[empty] AND priority:2) | You can have multiple conditions wrapped in brackets |
...
You can also use the following functions with fields
Function | What it does | Example |
---|---|---|
_length | Returns the length of the field. For empty or non-existent fields the length is 0 | summary._length:>20 Checks if summary field's length is longer than 20 symbols |