Hide Empty Matrix Automatically on Notification Emails

  • Profile Image
    QCordering
    Asked on February 14, 2013 at 01:38 AM

    The automatic notification emails are showing emoty matrixes (the text box matrixes). Is there a way to hide them from the notification email?

    I tried using what is suggested here (http://www.jotform.com/answers/108058-How-do-to-hide-unused-fields-in-submission-e-mails) but for some reason it is shifting my inputs down a cell (when I put a 1 in the second text box field in the matrix, it shows it in the first text box field).

    I have 6 matricies and they aren't all always filled out so I would like to hide the unused ones while retaining correct inputs.

    Thanks, Chris

  • Profile Image
    EduardoMendez
    Answered on February 14, 2013 at 09:24 AM

    Hi there, 

    Unfortunately this feature is not available yet.

    However, I have submitted a feature request to have the option to make empty Matrix fields not show on notifications.

    Our dev team will look at the request and will update this thread if this is something that is implemented or if there are any updates on this.

    We appreciate your feedback!

  • Profile Image
    QCordering
    Answered on February 14, 2013 at 12:00 PM

    So in the mean time will there be a way to hide them because it is kind of unusable at this point. The code I posted above works but it modifies inputs for some reason... if someone could look into it that would be great.

  • Profile Image
    EduardoMendez
    Answered on February 14, 2013 at 12:58 PM

    Unfortunately, I have not been able to come up with a temporary solution.

    Please stand by to see if another member of the team may be able tp help you with a workaround.

  • Profile Image
    QCordering
    Answered on February 14, 2013 at 04:39 PM

    Thanks a lot. It's very unfortunate because the matrix is a perfect option for me but not being able to hide them from the notification email will make it unusable.

    I was previously using the Purchase Order field to make my order form but it has become to much of a hassle editing the source code to style it the way I'd like and the matrix looks 10 times better.

    Thanks for getting someone else from the team to figure out a temporary workaround.

  • Profile Image
    jeanettebmz
    Answered on February 14, 2013 at 05:01 PM

    The only way I can think of as a temp workaround would be to manually set autohide empty fields in your submissions view page

  • Profile Image
    QCordering
    Answered on February 14, 2013 at 05:57 PM

    This doesn't fix the problem. I'm talking about automatic email notifications. Plus, the auto-hide empty fields doesn't even work for matrix text fields, try it out and you will see that matricies with the "text field" option do not auto hide. The only ones that auto hide are the radio button matricies. But thank you for your help.

    I was looking for more of a custom javascript workaround that will work for automatic emails (like the workaround linked.) The problem about that workaround is it modifies the text inputs for some reason. If someone can look into a custom js workaround, that would be great.

  • Profile Image
    Mike_T
    Answered on February 14, 2013 at 06:18 PM

    We do not have the auto-hide feature for Text Boxes, Text Areas and Drop Downs. Unfortunately, there is no way to hide the Matrixes with the Text Box / Drop Down based inputs at this time. We hope to get it fixed at some point in the future.

    Alternatively, you may try the Radio Buttons / Check Boxes.

    http://form.jotformpro.com/form/30446120335947

    I am not sure about the javascript workaround. How do you want to control the content of email?

  • Profile Image
    QCordering
    Answered on February 14, 2013 at 07:44 PM

    Look at this script (http://www.jotform.com/answers/108058-How-do-to-hide-unused-fields-in-submission-e-mails) This script deletes the unfilled fields and hides them from the email but for some reason, it modifies what column the input was in when used with the matrix.

    I want something like this to work with the matrixes. It succesfully hides the empty ones but like I said, it shifts inputs down a column for some reason..

  • Profile Image
    jeanettebmz
    Answered on February 14, 2013 at 09:05 PM

    Hopefully the feature will be implemented in sooner than later. You should receive an update on this thread

  • Profile Image
    QCordering
    Answered on February 15, 2013 at 06:18 PM

    I hope so too. Can anyone look into that JS example I linked to and see if something like that could work for the matrix?

    Thanks, Chris

  • Profile Image
    Welvin
    Answered on February 16, 2013 at 07:43 AM

    Hi Chris,

    I've tested that and it works well, however, you are right with the formatting output. I am certainly not what to add with the given codes or modify to make it perfect. 

    All I can advice for now is to wait for the updates from our developers about this feature.

    Thanks

  • Profile Image
    QCordering
    Answered on February 18, 2013 at 01:25 PM

    Is there anyone who is knowledgeable in javascript that could figure out how to get that to work?

    I really cant wait months for it to be implemented.

    Thanks a lot, Chris

  • Profile Image
    EltonCris
    Answered on February 18, 2013 at 03:15 PM

    @QCordering

    I will check on this or my other colleagues who knows JS better would be able to help. Note that I couldn't promise anything yet since this is outside from JotForm anymore, however we will do our best to find a possible way if there really is. Can you please confirm if this is the final form in question? http://www.jotform.com/30437974533964

    Thanks!

  • Profile Image
    QCordering
    Answered on February 18, 2013 at 05:09 PM

    Yes that is correct. And thanks for the help!

  • Profile Image
    QCordering
    Answered on February 25, 2013 at 02:36 PM

    Any updates on this?

  • Profile Image
    EduardoMendez
    Answered on February 25, 2013 at 03:04 PM

    Hi there, 

    Unfortunately, we do not have any updates on the request.

    The ticket is opened and marked as Nice to Do.  As soon as there are any updates on the subject the dev team will update this thread.

    Thanks for your feedback!

  • Profile Image
    QCordering
    Answered on February 25, 2013 at 05:45 PM

    @EltonCris any updates on what you were looking into?

    @EduardoMendez this should be pretty high on a To Do list as it is a pretty big issue with the notification area of JotForm...

  • Profile Image
    EltonCris
    Answered on February 25, 2013 at 11:24 PM

    @QCordering

    Sorry for the delay. For some reason, I didn't get notification on your reply last February 18 until your second reply last day.

    Here's a workaround that would fixed the values not to jump on the other  columns but this involves manual editing on form source code just like what you did when you apply the scripts.

    Here's how:

    Find all the text boxes under matrices (you can search "form-matrix-values" to find them easily) and put numbers on the blank brackets "[]" after [0]. The number should always start with 0 then 1,2,3,4 and so on depending on the number of text box on a matrix field. Just do the same on the other text boxes under matrices (always begin with "0" on each matrix fields). Check this screen.

    Hope this helps. Let us know if you need further clarification. Thanks!

  • Profile Image
    QCordering
    Answered on February 26, 2013 at 06:00 PM

    Worked great!!!!! Thanks a lot!!!

  • Profile Image
    kenneth
    Answered on March 23, 2013 at 04:41 AM

    Hi,

    We have a new feature in jotform. This is the "Hide Empty Fields on Emails" from advance tab under Preferences. Have you tried these already? Please confirm if these works in your side.

    Thank you,
    Kenneth