Remove empty rows from notification email table isn't working

  • Profile Image
    terrywells
    Asked on January 09, 2018 at 04:07 PM

    I have the 'do not show empty fields' ticked on the email settings but the empty rows of the form still show in the email sent out from the form creating a lot of empty space. I assume it is to do with the questionRow element, I have tried various html and css options to suppress the empty space but failed. Any suggestions?

    On the screen shot 'test' I would like to be directly under the line above.

    Thanks

    Terry

    Screenshot
  • Profile Image
    terrywells
    Answered on January 09, 2018 at 04:28 PM

    Sorry, that should have said 'Table in notification email'

  • Profile Image
    EltonCris
    Answered on January 09, 2018 at 06:15 PM

    When the email template is heavily modified, it might break the "Hide Empty Fields" feature, most probably because the script won't be able to detect the parent element of the field variable.

    The easiest way to fix this is to create a new email notification. It should have all the default fields and the table. And as much as possible please do not change the table row or column. They should be intact. Text, however, can be modified. You can add text inside or outside the table.

    Thanks

  • Profile Image
    terrywells
    Answered on January 10, 2018 at 02:21 AM

    OK, thanks Cris. I'll start again and gradually modify rather than all in one go and see what happens.

  • Profile Image
    EltonCris
    Answered on January 10, 2018 at 03:25 AM

    Yes, you can do that as well. Do the changes piece by piece. As long as the table is intact, there shouldn't be any problem.

    Feel free to let us know whenever you come across issues again.