Skip to main content
Explicite module recommendation requests get classified as "of topic" ... even though "there is a module for it" is still a perfect answer ...
Source Link
Pierre.Vriens
  • 36k
  • 40
  • 51
  • 183

I have a content type = Article. There I have 2 field. What I want is, If field 1 is empty or does not contain any value, replace this field with field 2, (with same css and html structure) else keep showing content of field 1 by default.

Is there any module forway to this in D8?

I have a content type = Article. There I have 2 field. What I want is, If field 1 is empty or does not contain any value, replace this field with field 2, (with same css and html structure) else keep showing content of field 1 by default.

Is there any module for this in D8?

I have a content type = Article. There I have 2 field. What I want is, If field 1 is empty or does not contain any value, replace this field with field 2, (with same css and html structure) else keep showing content of field 1 by default.

Is there any way to this in D8?

Source Link
Sugandh Khanna
  • 3.5k
  • 5
  • 40
  • 69

Hide/Show fields value in nodes

I have a content type = Article. There I have 2 field. What I want is, If field 1 is empty or does not contain any value, replace this field with field 2, (with same css and html structure) else keep showing content of field 1 by default.

Is there any module for this in D8?