Autoresponse email body keep reverting the changes I make.

  • CECV
    Asked on January 24, 2019 at 5:36 PM

    Hi there,

     

    For the past week I've had to continuously change the auto-response setup for one of my forms, and I have no idea why. I copy and paste the code (I've had to make a back-up because it's happened so many times) save it, and for a little while it seems to have saved, but each following day I log-in to check that it has saved across, and it has reverted to a broken/incomplete version of the auto-response email.

     

    Admittedly it is a long auto-response query (but the length and content is compulsory for my manager), and there's no reason as to why this should be happening.

     

    I've attached a screenshot of what should look like, but if you go to the auto-respond for user's its cut out up to 60 questions (it's missing up to 60 auto-completed fields, and a lot of added text I've put in).

     

    Really frustrated, and need this amended as soon as possible so I can actually distribute the form in a working condition.

     

    Regards,

     

    Jordan



    Jotform Thread 1711935 Screenshot
  • Jed_C
    Replied on January 24, 2019 at 7:40 PM

    We apologize for the inconvenience.

    You might have some tags that is not allowed in source code. That will automatically be stripped out from the code.

    Would you mind pasting the entire code here https://pastebin.com/ and share the link to that code so we can check.

    Looking forward for your response. 

  • CECV
    Replied on January 24, 2019 at 7:53 PM

    Hi there, I've pasted it on this link:

    https://pastebin.com/r16WTtfk


    Regards,


    Jordan

  • Jed_C
    Replied on January 24, 2019 at 9:17 PM

    I checked the character count and your script has a total of 65591. The allowed number of characters in a single email is only 65536.

    1548382574Character Counter   Letter Cou Screenshot 10

    It's probably omitting the 52 last characters which causes the code to not have the closing tags. This means that some of the opening tags won't function as it is lacking of closing tags.

    Maybe try reducing the count of characters to fit the max limit allowed for a single email.

    Let us know if you have any questions or if you need further assistance. 

  • CECV
    Replied on January 24, 2019 at 10:34 PM

    I deleted a whole section that contained a lot more than 52 characters - can be seen in the following paste:


    https://pastebin.com/ii0D3ezm


    And still, when I save the form, it reverts to the cut-off version.


    Regards,


    Jordan

  • roneet
    Replied on January 24, 2019 at 11:58 PM

    I re-checked the code which you pasted in paste bin and it is showing it has 86267 characters in it. What I would suggest you break the notification into two separate emails. Since the email is very long so the characters are getting cut off.

    Autoresponse email body keep reverting the changes I make. Image 10

    Please let us know if you have further questions.

    Thanks.