• Resolved philraymond

    (@philraymond)


    Is there any way to have a checkbox list that gives a range of values? E.g. There are 5 items in the list, each one has a low price and a high price associated with it, and then I can have a low and high total based on which checkboxes are selected?

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi @philraymond,

    I’m sorry, but that’s not possible, you can enter only one value by choice, furthermore, why to use checkboxes where you can check multiple choices, and not radio buttons where the choices are exclusives?

    I’ll try to explain a possible alternative using radio buttons:

    – Enter as the values of the choices in the radio buttons, an array with the minimum and maximum values corresponding to the choice, for example: [10,100]

    – Assuming that the radio buttons is the fieldname1, the equation associated to the calculated field would be similar to the following one:

    (function(){
    var v = eval(fieldname1); 
    
    /**Insert your code here, v[0] contains the value 10 and v[1] the value 100 **/
    
    })()

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Checkbox list with range of values’ is closed to new replies.