ECA Form: add NOT value condition to "Form field: add state" action

Issue information

From user: starlight-sparkle

Related to !549 (merged)

Contribution record

Fork management

Problem/Motivation

I cannot specify a field state condition as "not a value".
Even if I manually specify the field state condition with token, the comparison value configuration will not be respected because the action code sets the comparison value to TRUE as long as the condition is not an exact match with "value".

Steps to reproduce

Proposed resolution

1. Add a new field state condition option !value
2. Check for the condition !value OR value when setting the condition comparison value.

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information