troubleshooting Question

HTML: Need help removing spaces created by empty Custom Fields

Avatar of ThaITr00ki3
ThaITr00ki3Flag for United States of America asked on
JavaScript
5 Comments2 Solutions211 ViewsLast Modified:
Hello Everyone,

I've run into a snag with a template I create for the use of sending out mass emails.  The problem I am having is within the template where I have space for a max of 12 "CustomText" which pulls from the individual e-mail assigned to it. Now if I have 12 names attached to that email everything works how I would like it to. It is when I only have 4 or 5 "CustomText" that's the problem because the rest are still there showing white space.

What would be the code I need to add to the below attachment in order to act as a "If/then" and wipe out the extra "CustomText" fields that are empty?
HTML-Help.txt
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros