Announcement

Collapse
No announcement yet.

Having trouble with a list of variables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Having trouble with a list of variables

    How can I stop spaces from being put in?


    Code:
          <align="left"><b> Other Information</b> -
           </br>
          
           <actinic:variable name="Size" />
    </br>     
           <actinic:variable name="Material" />
          </br>
           <actinic:variable name="Manufacturer" />
           </br>
           <actinic:variable name="Power" />
           </br>
           <actinic:variable name="Waterproof" />
           </br>
        </br>
    This is the code I'm using, but just lets say the POWER variable doesn't have any info for the product, It would still make a blank space? how can I stop this happening, bearing in mind I want a vertical list.

    #2
    You can use blockif tags to check if the variable is filled in then put the space inside the blockif, see the blockifs tutorials.
    Peblaco

    Comment


      #3
      Great thank you so much!

      really appreciate it man!

      Comment

      Working...
      X