All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

range filter not working properly

Merlin Jacob 23 Jul 2014 13:08 problem, complete

I am using low search for range filer.i have a slider and i use text box to get the value of the slider using js and perform the search.

the search is done but the filter is not working properly.

i want to get the entries having the weight (eg 0 &100). but it is showing entries having weight more than 100 at times. i dont what i am doing wrong .please help me.

input type="number" placeholder="From" name="range-from:cf_product_weight" class="range1 "

input type="number" placeholder="To" name="range-to:cf_product_weight" class="range2 "

my slider
input id="size1" type="number" data-slider-min="0" data-slider-max="250" data-slider-value="[0,250]" data-slider-step="1" data-slider-tooltip="show"

please help me with this.

thanks in advance

Replies

  1. Low 23 Jul 2014 13:15

    What is the type and properties of the field "cf_product_weight"?

    It should be a Text Input, and the "Field Content" setting should be set to something other than "All", so it accepts only true numbers.

  2. Merlin Jacob 23 Jul 2014 13:32

    yep.. i changed to number and its working great now..

    thank you so mch...you are awesome :)

  3. Merlin Jacob 23 Jul 2014 13:35

    can i use grid field for range search

  4. Low 23 Jul 2014 13:36

    I'm afraid not. Only numeric fields.

  5. Merlin Jacob 23 Jul 2014 13:39

    its ok..thanks for your immediate response...