Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author TC.K

    (@wp_dummy)

    You should use “IN” compare operator for checkbox display.

    Thread Starter dannykater

    (@dannykater)

    Thanks TC.K,

    IN works on a single value, but not on a range? For me it works with 1::Yes | 2::No but not with for example:

    0-50::€50 en lager | 50-60::€50 – €60 | 60-70::€60 – €70 | 70-80::€70 – €80 | 80-90::€80 – €90 | 90-100::€90 – €100 | 100-125::€100 – €125 | 125-150::€125 – €150 | 150-10000::€150 en hoger

    Plugin Author TC.K

    (@wp_dummy)

    Yes, checkbox only work at single value. Between can’t use checkbox.

    Thread Starter dannykater

    (@dannykater)

    Any other way to do this?

    I can imagine people often need to be able to check different, for example, price ranges. They might be interested in different price ranges in stead of just one range.

    I’ve got it working not with Radio, but would be great to get it done with Checkbox!

    Thanks!

    Plugin Author TC.K

    (@wp_dummy)

    No, I don’t think so. If you want to search for the wider range, maybe you can define your options as follow:

    1-10 :: $1-$10 |
    1-100 :: $1 - $100 |
    1-200 :: $1 - $200
    ..etc

    Or you can use the range addon, where user can defined the range they want to search.

    Thread Starter dannykater

    (@dannykater)

    Looks good. I’ll have a look at the add-on!

    Is it technically impossible to have BETWEEN with a checkbox? Planning to develop this, or not?

    Thanks.

    Plugin Author TC.K

    (@wp_dummy)

    No, it’s unlikely to implement it. It’s too complicated due to the way WP handle the data.

    Thread Starter dannykater

    (@dannykater)

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Using Checkbox’ is closed to new replies.