Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron

Only half the IF/ELSE statement is working

New Member
1 0 0



I'm trying to say that if the value in the length field is greater than zero then show it, if not then show depth instead. 


Have the following code but its only displaying the length value i.e. "Length: 60cm"

The depth displays as follows: "Depth: cm" so is missing the value


Any ideas what I'm missing here as it works just fine for length, width, height and weight!




Thank you 


Replies 0 (0)