App Connect Data Formatter Support Product Page

Answered

Show or hide content database textfield in DIV

Asked 19 Oct 2017 13:58:18
1
has this question
19 Oct 2017 13:58:18 Edgar Tossijn posted:
I like to show DIV's only when the corresponding databasefield contains any text, the same for the next DIV, et cetera. I can not use a Repeat function in this case. What is the correct manner to do so?

Example
<DIV> content database textfield 1</DIV> [show if content is available in database]
<DIV> content database textfield 2</DIV> [show if...]
<DIV> content database textfield 3</DIV> [show if...]

Replies

Replied 19 Oct 2017 14:36:06
19 Oct 2017 14:36:06 Teodor Kuduschiev replied:
Hello Edgar,
Just select the div you want to show, select dynamic attributes > display > show > and select the binding you want to check if available.

Reply to this topic