Upload a PDF file and render its field values into the same web page

I am trying to develop a web page where I want to upload a PDF file to a web page, get the values of its fields then render them into the web page fields using JavaScript. I started with the following code but I can not get the value of the PDF fields. May I ask for a sample code on how to do this

<script src="jquery-2.1.4.js"></script>
<script src="jspdf.min.js"></script>
		<input type="file" id="file-id" name="file_name" onchange="ExtractText();">
		<!-- a container for the output -->
		<div id="output"></div>
 	function ExtractText() {
		var input = document.getElementById("file-id");
       	         // Insert get doc field code here
                var doc = new jsPDF(input.files[0]);          

You may find this information helpful

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.