Does anyone know how to show some fields only when a previous one has a not null value? I tried what was on this link but it didn't work since when I go to the expression dialogue it can't find the field

enter image description here

What I want to do is that the "Descripcion" group only shows up once DESRI_RX or Rock_Type, are not null (it needs to works on QField as well).

enter image description here

  • 1
    You should be able to see the field name in the expression builder, if not you could try to create your expression by hand typing the field name... – J.R Jun 16 '20 at 16:21

I have also noted you cannot 'see' the field. But I have found a syntax that does work. Try...

attribute('DESRI_RX') is not null OR attribute('Rock_Type') is not null

I haven't tested, but hope that helps O

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.