Knowledge Base - Tutorial Interval search plugin for Sobi2

With this search option, you can search all entries to your correspondent search filters Sobi, and more such filter the entries on a maximum price (all the red cars for a price of $ 5,000 maximum). In our example we will work with the same fields as in the method 'From... To... '.

Simple values

In the case of values of type inputbox, open the tab "Limit Method" and choose the minimum required parameters:

  • The choice of custom fields: Select the field that you want to search in our example we will work on the field field_postcode order to search entries on their postcode.
  • Method: We will select 'Minimum', in order to enter values in ourselves and allow backend search values greater than the user's selection.
  • Min-max list: On our example website, the postal code range from 1001 to 1950. We will split the list into several groups and without entering the last value: 1000,1200,1400,1600,1800.
  • State: verify that the state is 'publish'.


ListBox values

The operation with the type of field listbox is the same. Simply choose a field type listbox. Our example it is the custom chmaps 'field_height', which contains such valuable questions 150 -> 150 cm, 160 -> 160 cm, 170 -> 170 cm, ... Choose the option 'Maximum' to search for all values smaller than the one selected. You can enter values in the same way, ie "150, 160, 170, 180, 190, 200".


Calendar values

In our example, the dates of the entries are ranged from 16.01.2009 to 17.12.2009 ( Including an example we can seize these dates for the inputs ' From... To... ': 01.01.2009, 01.02.2009, 01.03.2009, 01.04.2009, 01.05.2009, 01.06.2009, 01.07.2009, 01.08.2009, 01.09.2009, 01.10.2009, 01.11.2009, 12.01.2009, 01.01.2010.


Also in the same block 'Calendar', trying to change the mode from 'Low' to 'Low and user input'. In this case it is allowed to leave the values entered above, they are simply not used.

In frontend, the form is different, it expects a calendar user input.

Advanced options

In the previous examples, we used three different methods of user input, it is of course possible to use each method with each type of custom fields (except from the step mode with fields of type calendar).

Number format: You can specify the number of decimals, the thousand separator and the comma. Then a number like 1976, can be drawn 1,976.00 or 1'976,0. The original value is not changed. If all 3 parameters are given, number  will be formatted with entered decimals, decimal separator instead of a dot (".") before the decimals and the entered thousands separator instead of a comma (",") between every group of thousands.

Applies To

All Products