PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Notification Showing Only Fields That Are Filled Out?

  1. 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!

    Posted 11 years ago on Thursday June 6, 2013 | Permalink
  2. David Peralty

    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

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  3. 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">
    
    • <span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Be careful not to repeat commands.</span>
    • <span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Limit free attention and praise. Make your dog EARN it!</span>
    • <span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Never give a command that you cannot enforce.</span>
    </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="2"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Next Lesson:</span></td> <td colspan="4"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left; font-weight: bold; margin-left: -198px;">{Next Lesson Date:13} @ {Next Lesson Time:14}</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Owner's Signature:</span></td> <td colspan="4">{Owner Signature:3}</td> </tr> <tr bgcolor="#888b82" height="50"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #FFFFFF;">Please don't hesitate to ask questions or voice concerns! Email, Call, or Text 843.569.3022</span></td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
    Posted 11 years ago on Friday June 14, 2013 | Permalink
  4. 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">
    
    • <span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Be careful not to repeat commands.</span>
    • <span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Limit free attention and praise. Make your dog EARN it!</span>
    • <span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Never give a command that you cannot enforce.</span>
    </td> </tr> <tr bgcolor="#b4c7be" height="50" style="border: 1px solid #b5afa2;"> <td colspan="2"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Next Lesson:</span></td> <td colspan="4"><span style="font-family: sans-serif; font-size: 14px; color: #575551; text-align: left; font-weight: bold; margin-left: -198px;">{Next Lesson Date:13} @ {Next Lesson Time:14}</span></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2"><span style="font-family: serif; font-size: 14px; color: #888b82; font-weight: bold;">Owner's Signature:</span></td> <td colspan="4">{Owner Signature:3}</td> </tr> <tr bgcolor="#888b82" height="50"> <td colspan="6" align="center"><span style="font-family: sans-serif; font-size: 14px; color: #FFFFFF;">Please don't hesitate to ask questions or voice concerns! Email, Call, or Text 843.569.3022</span></td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
    Posted 11 years ago on Friday June 14, 2013 | Permalink
  5. Handling via priority support.

    Posted 11 years ago on Monday June 17, 2013 | Permalink

This topic has been resolved and has been closed to new replies.