I have a task to do where i have to show pdf in bootstrap modal with out the download option.That pdf would have input fields where user can upload its signature and when user would click okay it would save respective pdf with filled information. I tried to do so,with Bootstrap modal i am able to show the form with input options in modal pop up, but i want whatever i write in modal,it should show up as pdf and that to with out doanload option.
I am searching answer in Jquery,i saw jsPDF but all tutorials show how to download html2pdf.I just want to show user to read it first not download.
<div class="modal fade" id="Modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
<div style="text-align: center;" class="test">
<div>
<hr><h2>Contract</h2><hr>
<h3>Hereby,i buy LaLaLa Land in the exchange of 2 cookies.</h3>
</div>
<div class="signature">
<hr><h2>Signature Page</h2><hr>
<img class="profile-pic" />
<div class="upload-button"></div>
<input class="file-upload" type="file" accept="image/*"/>
<h4>Document ID:dlfkhahdf4565n5jbnjk45h</h4>
<h4>User Name:Donald Trump</h4>
<h4>User ID:456jkn45</h4>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary">Okay</button>
</div>
</div>
</div>
</div>