Skip to main content
May 16, 2022
Question

error

  • May 16, 2022
  • 12 replies
  • 0 views

Hi all, I am getting error as "Interface Definition: Expression evaluation error at function a!forEach [line 52]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!checkboxField [line 88]: A checkbox component [label=“”] has an invalid value for “value”. All selected values must be present in the choiceValues array, but value was 1 and choiceValues was 1."  

even though given same as choiceValues as value,Can Someone suggest me on this?

    12 replies

    gopalk2865
    Participating Frequently
    May 16, 2022

    HI, selected value is not there in available choices of your check box field. Make sure the value you select is available in choice values array. 

    May 16, 2022

    how to give in check box,if the value in database is '0' available to add and it is '1' not able to add, for ex: Once check box is selected it is value should be grayed out.

    stefanhelzle0001
    Brainy
    May 16, 2022

    The values in the choices MUST match the given value in type AND value. It seems like you have an integer and a string.

    May 16, 2022

    yes got it

    May 16, 2022

    is it possible for one checkbox to have two or more values?