Is there a way to eliminate items appearing on the sendmail email if the values = 0. Is there an if then else structure in any way possible. Its to avoid a lengthy email and help format it a bit better. Thanks
document.ProxyForm.MessageBody.value = "\n\n" + "Order Placing" + "\n\n"
+ "Start of Order" + "\n\n"
+ "Time received: " + CurrentDate + "\n"
+ "DBC-6 " + DB6 + " off" + "\n"
+ "DBC-12 " + DB12 + " off" + "\n"
+ "DBC-22 " + DB22 + " off" + "\n"
+ "DBC-32 " + DB32 + " off" + "\n"
+ "DBC-34L " + DB34 + " off" + "\n"
+ "DBC-40 " + DB40 + " off" + "\n"
+ "DBC-64L " + DB64 + " off" + "\n"
+ "DBC-94L " + DB94 + " off" + "\n"
+ "DBC-124L " + DB124 + " off" + "\n\n" + "End of Oder, Thankyou";
document.ProxyForm.MessageBody.value = "\n\n" + "Order Placing" + "\n\n"
+ "Start of Order" + "\n\n"
+ "Time received: " + CurrentDate + "\n"
+ "DBC-6 " + DB6 + " off" + "\n"
+ "DBC-12 " + DB12 + " off" + "\n"
+ "DBC-22 " + DB22 + " off" + "\n"
+ "DBC-32 " + DB32 + " off" + "\n"
+ "DBC-34L " + DB34 + " off" + "\n"
+ "DBC-40 " + DB40 + " off" + "\n"
+ "DBC-64L " + DB64 + " off" + "\n"
+ "DBC-94L " + DB94 + " off" + "\n"
+ "DBC-124L " + DB124 + " off" + "\n\n" + "End of Oder, Thankyou";