ECA Form: add NOT value condition to "Form field: add state" action
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3540135. -->
Reported by: [starlight-sparkle](https://www.drupal.org/user/3804225)
Related to !549
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I cannot specify a field state condition as "not a value".<br>
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 <code>TRUE</code> as long as the condition is not an exact match with "value".</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>1. Add a new field state condition option <code>!value</code><br>
2. Check for the condition <code>!value</code> OR <code>value</code> when setting the condition comparison value.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
> Related issue: [Issue #3486384](https://www.drupal.org/node/3486384)
issue