App Connect Data Formatter Support Product Page

show or hide text in DIV

Asked 23 Oct 2017 12:21:38
1
has this question
23 Oct 2017 12:21:38 Edgar Tossijn posted:
I use the DIV DMX-SHOW code where the text "linkedin" is shown, linked to a Linkedin address, if availabe in the database.

This works fine if the corresponding field contains a Linkedin address.

If the corresponding database field contains NO Linkedin address, the text "linkedin" is still shown. How do I solve that?

Replies

Replied 23 Oct 2017 12:35:37
23 Oct 2017 12:35:37 Teodor Kuduschiev replied:
Hello Edgar,
Your request is a bit unclear. Please be a little more detailed and also please provide a link to your page.
Replied 23 Oct 2017 13:03:57
23 Oct 2017 13:03:57 Edgar Tossijn replied:
WebKnight blocks my code, and my page is not online yet, so I try to describe what I did:

I use DIV DMX-SHOW hasItems with a DMX-BIND:HREF to a database field with Linkedin addresses (if available);

I like to show the word Linkedin (as hyperlink) IF the corresponding database field contains a Linkedin address

The word "linkedin" is now also shown when the corresponding database field is empty.
Replied 23 Oct 2017 13:06:45
23 Oct 2017 13:06:45 Teodor Kuduschiev replied:
I need a link to your page, where i can see what is going on.
Code pasted here does not help me identify your problem - so please upload the page and provide a link to it.
Replied 23 Oct 2017 13:09:36
23 Oct 2017 13:09:36 Edgar Tossijn replied:
The website is in the "localhost" fase at the moment. I will get back to you if I can provide a link.

Reply to this topic