Suggestion: notification email with field names

  • Profile Image
    Asked on June 04, 2013 at 04:16 PM

    I'd like to parse in code the emailed version of a submission as soon as it arrives. I am currently parsing the HTML from the mail body which some difficulty.

    I'd like to suggest that you add the id= attribute to the table cells containing reponse text. The id would be the name from the field name on the form. This would allow us to reliable find the proper cell quickly.

    An issue I could imagine is that the ID on the fields is not stable. It appears to be generated by your code. Some other field may be more appropriate or you may allow use to add an attribute contianing a field indentifier they we understand. The latter would be a nice feature in my opinon - I'd like to be able to set a value that carried throught to the HTML delivered via email.

    Great tool!

  • Profile Image
    Answered on June 04, 2013 at 06:29 PM


    Thank you for your suggestion. We would like to review it to get more details.

    From what I understand so far, you are refering to the notification email html source.

    The html source of the email will always "clear/remove" the added attributes when you edit it. I am sure you have noticed this already

    And your purpose for this id attribute is...

    I'd like to be able to set a value that carried throught to the HTML delivered via email.

    I think what you wanted to do on the email submission is not within JotForm anymore.
    I think it will be done after when you have already received the email submission. Because it is like, you are already forwarding the html/email after you have already received it.


    You can actually parse the email messages using the text format of the email template.

    You can add comma(,) on each answer to make them a CSV format. You can then parse the answer using comma as the delimiter.

    After you have parse the answers, you can then re-create an email message/template with the corresponding answers on the email html page.


    Hope this help. Please continue updating us if you have further inputs/details to share.