JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Display generated serial number into email response.Asked by darren_jon on May 11, 2016 at 12:52 AM
Hi, we have a form that generates a serial number, we are wanting that generated serial number to appear in a text area of your form. Are we able to do this? I can get the serial number to appear but will not come via the email response.
I checked the form on your webpage and it appears that you were able to successfully display the generated serial number into the text area of the form. However, upon checking the code, it appears that the text-area was not created from jotform, which is why it is not being displayed in the email response.
var serialCode = document.getElementById("code").value;
document.getElementById("mytextarea").value = serialCode";
If you need further assistance, please let us know.