Reproduce:
1. Create the new dependency for regex.
-- Target = body
-- control field = title
-- form state = visible
-- condition = value
-- input mode = Regular expression
-- regular expression = ^test$
2. Add the New node and fill the title like "test"
3. Save created node.
4. Open the saved node and the conditional is not working.

It's happened cause the behavior 'state' started before behavior 'statesModification' and the changes from 'statesModification' not applied yet. So for fixing this issue need move the "statesModification" up in the behaviors list for processing it before the behavior 'state'.

CommentFileSizeAuthor
#2 conditional_fields-2990454.patch800 bytesNightAr
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NightAr created an issue. See original summary.

NightAr’s picture

Status: Active » Needs review
FileSize
800 bytes