« Professionelle E-Mail-Kommunikation - Leitfaden | Hauptseite | Seperatoren bei mobilen Endgeräten wie iPhone, Blackberry etc »

Hide If Blank Examples - HowTo 1

This article gives you some examples how to handle blank values in Active Directory attributes.

The used screenshots are from Signature Manager. But you will find that behaviour in Mail Disclaimers is equal.

Often values in Active Directory attributes are not filled with values.

So you might want not to display these attributes.

Example 1

The first example shows that attributes with blank  / NULL values are shown.

  SM10.JPG

SMTipp11.JPG

 

With this configuration a blank line is between firstname and lastname!

 

SMTipp13.JPG

Example 2 

Example 2 demonstrates how to prevent the second line to be shown by using the Prefix and Suffix attributes of the Exclaimer object. Also set Hide if blank to TRUE as well as Interpret markups.

SMTipp15.JPG

 

 The result should be:

 

SMTipp16.JPG

 

Example 3

 

The third examples shows something which is really tricky: how to embedd the attributes in a table and not displaying the table row, if the value is empty.

SMTipp17.JPG

The trick is to include the HTML-Markups in the Exclaimer object.

SMTipp18.JPG 

The result (with border = 1 in size)

SMTipp19.JPG

 

The complete html code of all 3 examples looks like this:

SMTipp20.JPG

Keine TrackBacks

TrackBack-URL: http://www.publizistik-projekte.de/cgi-bin/mt/mt-tb.cgi/840

Jetzt kommentieren

mt-comments.cgi" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)">

Über diesen Blog

Archiv