How to make checkboxes dynamic in POST request

Hi, I have a screen with checkboxes.
In post request got an Error: field: day checkbox field value must be a boolean
Invalid JSON: SyntaxError: Unexpected token “$”, … ‘Day’: $(day)," … is not valid JSON.
To solve this I changed the coding as

At first;
“Day”: “${day}”,
“Evening”: “${evening}”,
“Night”: “${night}”

after changing to boolean:
day: true,
evening: true,
night: true

API request succeeded but now the checkboxes are hard coded to true and are always checked in aitable. I want them to be dynamic for user input.
Also the checkboxes are not responsive to clicks when the screen is “played” to test.

please guide me and help solving these issues

Thank You.

1 Like