Is there a way to filter out unused fields when doing a custom notification with html? The fields don't show up when using "all fields," but when I am trying to customize the look, I am not sure how to avoid this. Any help would be much appreciated!
Is there a way to filter out unused fields when doing a custom notification with html? The fields don't show up when using "all fields," but when I am trying to customize the look, I am not sure how to avoid this. Any help would be much appreciated!
Answered via Priority Support, but for others, you need to wrap things in Conditional Shortcodes, and the documentation can be found half way down this page: http://www.gravityhelp.com/documentation/page/Shortcodes
i have attached the code that i am using, which includes the conditional codes that you mentioned. It still isn't working. I am looking for additional help...
<table width="99%" border="0" cellspacing="0" cellpadding="1" bgcolor="#b5afa2"> <tbody> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#FFFFFF"> <tbody> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><img alt="well-mannered-dog-training" src="http://dogtrainingcharleston.com/wp-content/uploads/2013/06/well-mannered-dog-training.png" width="370" height="242" /></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="margin-top: -18px; font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Lesson Report</h1> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td width="10%"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Date:</span></td> <td width="23%"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{date_mdy}</span></td> <td width="10%"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Start Time:</span></td> <td width="24%"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Start Time:5}</span></td> <td width="10%"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">End Time:</span></td> <td width="23%"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{End Time:6}</span></td> </tr> <tr bgcolor="#FFFFFF" height="50" style="border: 1px solid #b5afa2;"> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Trainer:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Trainer:4}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Owner:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Dog\'s Owner (First):1.3} {Dog\'s Owner (Last):1.6}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Dog(s):</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Dog\'s Name:7}</span></td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Lesson #:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Lesson Number:9}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Amount Pd:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Amount Collected:8}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Method:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">[gravityforms action="conditional" merge_tag="{Method:20}" condition="isnot" value="empty"] {Method:20} [/gravityforms] </span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Obedience Commands</h1> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Reviewed Today:16}" condition="isnot" value="empty"] Commands Reviewed Today: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Reviewed Today:16}" condition="isnot" value="empty"] {Commands Reviewed Today:16} [/gravityforms]</span> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Introduced Today:15}" condition="isnot" value="empty"] Commands Introduced Today: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Introduced Today:15}" condition="isnot" value="empty"] {Commands Introduced Today:15} [/gravityforms]</span> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Proofed Today:17}" condition="isnot" value="empty"] Commands Proofed Today: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Proofed Today:17}" condition="isnot" value="empty"] {Commands Proofed Today:17} [/gravityforms]</span> </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Behavior Modification</h1> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Problem Solving Procedures:18}" condition="isnot" value="empty"] Problem Solving Procedures: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Problem Solving Procedures:18}" condition="isnot" value="empty"] {Problem Solving Procedures:18} [/gravityforms]</span> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Other Things to Note:19}" condition="isnot" value="empty"] Other Things To Note: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Other Things to Note:19}" condition="isnot" value="empty"] {Other Things to Note:19} [/gravityforms]</span> </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Keys to a Well Mannered Dog</h1> </td> </tr> <tr bgcolor="#ffffff" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6">
i have attached the code that i am using, which includes the conditional codes that you mentioned. It still isn't working. I am looking for additional help...
<table width="99%" border="0" cellspacing="0" cellpadding="1" bgcolor="#b5afa2"> <tbody> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#FFFFFF"> <tbody> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><img alt="well-mannered-dog-training" src="http://dogtrainingcharleston.com/wp-content/uploads/2013/06/well-mannered-dog-training.png" width="370" height="242" /></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="margin-top: -18px; font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Lesson Report</h1> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td width="10%"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Date:</span></td> <td width="23%"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{date_mdy}</span></td> <td width="10%"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Start Time:</span></td> <td width="24%"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Start Time:5}</span></td> <td width="10%"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">End Time:</span></td> <td width="23%"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{End Time:6}</span></td> </tr> <tr bgcolor="#FFFFFF" height="50" style="border: 1px solid #b5afa2;"> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Trainer:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Trainer:4}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Owner:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Dog\'s Owner (First):1.3} {Dog\'s Owner (Last):1.6}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Dog(s):</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Dog\'s Name:7}</span></td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Lesson #:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Lesson Number:9}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Amount Pd:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">{Amount Collected:8}</span></td> <td><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Method:</span></td> <td><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;">[gravityforms action="conditional" merge_tag="{Method:20}" condition="isnot" value="empty"] {Method:20} [/gravityforms] </span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Obedience Commands</h1> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Reviewed Today:16}" condition="isnot" value="empty"] Commands Reviewed Today: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Reviewed Today:16}" condition="isnot" value="empty"] {Commands Reviewed Today:16} [/gravityforms]</span> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Introduced Today:15}" condition="isnot" value="empty"] Commands Introduced Today: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Introduced Today:15}" condition="isnot" value="empty"] {Commands Introduced Today:15} [/gravityforms]</span> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Proofed Today:17}" condition="isnot" value="empty"] Commands Proofed Today: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Commands Proofed Today:17}" condition="isnot" value="empty"] {Commands Proofed Today:17} [/gravityforms]</span> </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Behavior Modification</h1> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Problem Solving Procedures:18}" condition="isnot" value="empty"] Problem Solving Procedures: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Problem Solving Procedures:18}" condition="isnot" value="empty"] {Problem Solving Procedures:18} [/gravityforms]</span> </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6"><span style="font-family: sans-serif; font-size: 16px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Other Things to Note:19}" condition="isnot" value="empty"] Other Things To Note: [/gravityforms]</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left;"> [gravityforms action="conditional" merge_tag="{Other Things to Note:19}" condition="isnot" value="empty"] {Other Things to Note:19} [/gravityforms]</span> </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="6" align="center"> <h1 style="font-weight: 500; font-size: 18px; width: 605px; padding-bottom: 10px; background: url('http://dogtrainingcharleston.com/wp-content/thesis/skins/classic/images/ribbon-bg.png') no-repeat scroll center transparent; text-align: center; padding-top: 10px; text-transform: uppercase; color: #ffffff;">Keys to a Well Mannered Dog</h1> </td> </tr> <tr bgcolor="#ffffff" height="50" style="border: 1px solid #b5afa2;"> <td colspan="6">
Handling via priority support.