What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Suggestion: notification email with field namesAsked by slocleanair 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.
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.