Best way to deal with null variables in an HTML view

Best way to deal with null variables in an HTML view


I have an HTML view that is populated by 50 differerent variables.
 
Some are from drop-downs, some aren't.
 
On fields that aren't required, what's the best way to keep them from showing up as "null" in the document?
 
I understand there is a way to use a tempVariable, but this would have to be done for each variable and seems messy.