Hi,

With visibility rules I can pick fields, including text fields, and then provide a comparison value. However, I don't seem to be able to evaluate if the field is empty. Simply leaving the text field empty and checking the NOT tickbox does not work.

I would think that it can be a common use case to only display field B if field A is not empty. This is currently not doable by default.

Suggestion is to add a tickbox to all text fields that reads "Is empty". In combination with the already existing reverse option it would allow all scenarios, i.e.

  1. Checking if a field is empty
  2. Checking if a field is not empty
  3. Checking if a field has a specific value

Another enhancement could be to expose the operator so that a user could select options like "contains" or "equals" for the text comparison.

Thanks, J.

Comments

jelo created an issue. See original summary.

apaderno’s picture

Version: 7.x-3.5 » 7.x-3.x-dev