• Resolved ibzgoba

    (@ibzgoba)


    Hello,
    For example, there are Checkboxes field: fieldname1. The user must mark 10 numbers.
    How to select 4 numbers from these 10 numbers in the calculated field in fieldname2 by their index in the array fieldname1? Ex., 2-4-7-9?

    fieldname1[1], fieldname1[3], fieldname1[6], fieldname1[8] ?

    Or use CFFFILTER? How then to formulate?

    I can not do it

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @ibzgoba

    Thank you very much for using our plugin. To access the ticked choices separately as an array, you must untick the “Merge ticked up options (sum or concatenation), or their values are returned as an array” attribute in the field’s settings.

    Now, the field’s value would be an array with the values of the ticked choices.

    For example, if the user selects three choices in the fieldname1, its value would be an array with three items (fieldname1[0], fieldname1[1], fieldname1[2])

    Best regards.

    Thread Starter ibzgoba

    (@ibzgoba)

    OK, thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Selecting results from an array’ is closed to new replies.