I have an HTML form where each input tag has its empty value attribute. This value attribute must be filled in randomly by a javascript code. So far so good. The problem is that when I use the plugin (jspdf) to submit this form to a PDF output, the value field of the form does not appear in the output of the pdf document. With this the document is exported only with the label, without its content.
The name drawn appears on the screen but unfortunately it is not set in the value property of the input tag and therefore does not appear in the pdf document when it is exported.
My question, is there any way I can enforce the value property of the input tag by the javascript code?
Asyoucanseeintheprint,thenamewasgenerated"Monge", but when inspecting the element its value attribute is empty. When I order to download via pdf the document is as below: