<li>
    <span class="fieldname">Text Messaging</span>
		<span class="fieldvalue">
	<% if (typeof textMsgAllowed !== 'undefined' && textMsgAllowed) { %><%- textMsgPhNumber %> <% } else { %> Not Allowed <% } %>
        </span>
</li>
<li>
    <span class="fieldname">Email Messaging </span>
		<span class="fieldvalue">
	<% if (typeof emailAllowed !== 'undefined' && emailAllowed) { %><%- emailAddress %><% } else { %> Not Allowed <% } %>
        </span>
</li>
<li>
    <span class="fieldname">Notification Frequency</span>
		<span class="fieldvalue"><%- typeof notificationFrequency === 'undefined' ? 'Never' : notificationFrequency %>
		</span>
</li>