Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Evan 344 posts 99 karma points
    Apr 20, 2009 @ 17:10
    Evan
    0

    Need some quick help with an if statement

    I have this code:
    [code]

    ]>
    <>
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxml="urn:schemas-microsoft-com:xslt"
    xmlns:umbraco.library="urn:umbraco.library"
    exclude-result-prefixes="msxml umbraco.library">





































    Address:





    Price:




    SqFt:




    Bedrooms:




    Bathrooms:






    MLS #:





    Click Here To Contact Krista Hubbard!










    [/code]

    and I need there to be a way to test if there is a small image that has been uploaded or not, if there is show it, if there is not, dont put anything (empty div).

    Right now I have gotten around this by using a plain empty image but I do not like that way. Small image and small image 2 are upload fields so if they are empty I need to skip that section. I can not seem to get it to work though. Any help would be greatly appreciated.

  • Evan 344 posts 99 karma points
    Apr 20, 2009 @ 17:20
    Evan
    0

    I have tried this:

    [code]




    [/code]

    but it blows up the design. Basically all I need is if there is no uploaded file for small image and small image 2, the div is empty...

Please Sign in or register to post replies

Write your reply to:

Draft