Database Insert Condition not behaving

Wappler: v4.1.3
OS: MacOS
Server: PHP
Database: MySQL

I have a Database Insert which has a condition on a couple of the fields but it’s causing the field to not insert despite the condition being met:

Condition is:
{{$_POST.response[$index] == 'answered'}}

FYI, the variable $_POST.response[$index] contains the correct values as they are inserted in the same insert.

Some records have ‘answered’ as the value, others have something else, but they all behave as if the condition isn’t met, eg. null being inserted.

Before I spend more time trying to find another way, could you confirm if this is a bug?

Community Page
Last updated: