Page tree

Versions Compared

Key

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

Looking for

Status
colourBlue
titleCLOUD
documentation?  This page has information that is valid for both versions

Filters / Conditions


Info

Filters is a very important concept in ConfiForms and is used in many places, basically it is the core of ConfiForms, a base which helps to connect ConfiForms forms and allows to query data stored within ConfiForms form:

  • to limit number of records returned by "*views" macros (TableView, ListView, CardView, CalendarView and ValueView)
  • to fire IFTTT actions based on conditions (ConfiForms IFTTT macro)
  • to execute rules based on a condition (ConfiForms Field Definition Rules)
  • to define custom CSS rules for your views, conditionally

...

Through "evaluateFormula" from Virtual functions you have access to Supported math operators, formulas and functions


Main principle is you match current record's field's value with a given value

Code Block
fieldname:value

...

Important to follow the concept of a field name followed by a value to check against separated with :


To match values against regular expressions please consider using "matches" function from Virtual functions

Code Block
myfield.matches(^[a-zA-Z0-9]*$):true


Reserved words to use in expressions:

...