The value field should not be required so that we can have a condition for empty fields as well.

Comments

czigor created an issue. See original summary.

czigor’s picture

Status: Active » Needs review
StatusFileSize
new471 bytes
littledynamo’s picture

Good call. Committed and pushed, thanks for the patch!

littledynamo’s picture

Status: Needs review » Fixed

kaido.toomingas’s picture

Just downloaded the module and its not there yet.

littledynamo’s picture

@kaido24 Try latest dev, it's not been rolled into a release as yet.

kaido.toomingas’s picture

Tried this code on empty taxonomy name but nothing happend. It just let it through.

kaido.toomingas’s picture

This module should / will exclude only this field or this entity from saving?

littledynamo’s picture

It will prevent the current field from being saved.

littledynamo’s picture

I've added this new code to a release, so please ensure you are using beta2, which can be downloaded here: https://www.drupal.org/node/2260913/release

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

lpalgarvio’s picture

Status: Closed (fixed) » Active

Hello littledynamo

I can not get get this to work. I'm using text fields.
What are the steps?

May i propose instead a empty and a not empty operator?

lpalgarvio’s picture

Title: Condition: empty » Permit empty value
Status: Active » Closed (fixed)

Nevermind, i understood the issue title wrong.