Problem/Motivation
I have a content type and I am trying to use the ECA module to require a field when saving the content in a specific moderation state. For example, when saving as a draft, I want the field to be optional.
I have set up a new model with the following configurations:
Workflow: state transition as an event
Form field: set as required as an action
However, in the "set as required" action, there is a Field name parameter, and the description states that it should be the name of the input field. I have entered the attribute as the field name, but the action is not being applied, also tried tokens, the field Label, id, etc,,, same issue.
I have also tried other actions like Display an error message to the user and they are working correctly without any issues, so there seems to be no problem with Events , Any suggestions about the problem or the solution?