Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

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

IDLabel
1Highest
2High
3Medium
4Low
5Lowest

 


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 FilterDetails
*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:highriskWhen 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

FunctionWhat it doesExample
_lengthReturns 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