3 Replies Latest reply: Oct 15, 2013 4:12 AM by Erik Trip - Darwin IT RSS

    Apex 4.2: mobile application: conditionally display div in list view

    Erik Trip - Darwin IT

      Hello

      I am developing a mobile app and created a page with a list view. I use advanced formatting.

      There is an address involved and I want to show an image with a link to google maps.

      However the address is not mandatory in the database so it can be empty. In that case I do not want to show the image.

       

      Part of text formatting:

       

      <div id="p3_location_link">

      <a  href="http://maps.google.com/?q=&ADRES. &PLAATS."><img src="/i/btn_twinq/location.png"></a>

      </div>

       

       

      Any idea how I could suppress this div when there is no address available?

       

      Thanks in advance

      Regards Erik