How set a default search for all values in custom field

How set a default search for all values in custom field

In DJ-Classifieds you can decide if you want to allow your users to find the items with predefined filters for custom fields or also give them the possibility to search by all custom fields' results.

Once adding a new custom field, you provide the values.

If you want the empty selection to be available in default in filter/search module, you need to add ';' sign at the start.

There are two scenarios available:

1) - you give the search all (empty) select or radio list option - so once that is selected by the user on the frontend it searches all the values available in this custom field




2) - you specify the values without providing the empty value - so the user that uses the search/filter module on frontend can pick the predefined values.


 


      • Related Articles

      • Extra/Custom fields in DJ-Classifieds

        The DJ-Classifieds component allows assigning additional fields to the advert details from a certain category. Settings To create a custom field, click on the Extra Fields button from the Control Panel, then click New from the top right toolbar, and ...
      • How to translate custom fields values

        If you want to translate custom fields values in DJ-Classifieds, follow this few simple steps. We will make an example of translation to show how the process looks like. Go to DJ-Classifieds and open "Options". Go to the "Custom fields values to ...
      • How to add new extra field in DJ-Classifieds

        It's easy to add a new custom field in DJ-Classifieds. The extra fields can be used in the Category, Contact, Profile, and the Ask Seller Form. Just follow this simple tutorial to get it working. We will show the example assigning the field to the ...
      • Custom fields in search/filter module

        We want to show you how to add a custom field in DJ-Classifieds and search for items using defined field. All custom fields can be visible in a single item view and DJ-Classifieds search box as well.  Check our short tutorial and see how to do it. ...
      • How to change date format in DJ-Classifieds custom fields

        You can change the date format in extra fields in DJ-Classifieds. Let’s add the custom field with a date. For the sake of this tutorial, I’ll create the “Availability” custom field that will be used for showing the availability for the apartments. ...