Editable text fields
Wednesday, May 22, 2019 at 07:03amHi,
I am trying to create a document with editable field which user will fill it out. But I cant find how to do it.
I have a template pdf which has form fields and injecting Fields with same as pdf form field names.It is working fine but not editable.
For below example , | would like signer fill CustomerAddress out.
var templatePath = HttpContext.Current.Server.MapPath("abc.pdf");
var documentBuilder= DocumentBuilder.NewDocumentNamed("Direct Debit")
.FromFile(templatePath)
.WithId("DirectDebitForm")
.EnableExtraction()
.WithSignature(SignatureBuilder.SignatureFor(ApplicantEmail)
.WithName("txtApplicantSignature")
.WithPositionExtracted()
.WithField(FieldBuilder.SignatureDate()
.WithName("txtDateofSignature")
.WithPositionExtracted()))
.WithInjectedField(FieldBuilder.TextField()
.WithName("txtCustomerAddress")
.WithValue(CustomerAddress));
Reply to: Editable text fields
Wednesday, May 22, 2019 at 07:46amReply to: Editable text fields
Wednesday, May 22, 2019 at 07:23am.WithInjectedField()
for your TextField(CustomerAddress) instead of using.WithField()
and enabling position extraction. Is there any reason you do so? Because inject field was to flatten values into document before signer starts to sign. And from your description, you just need a normal text field. So from my understanding, you code should be: Hope this could help! DuoReply to: Editable text fields
Wednesday, May 22, 2019 at 07:39amReply to: Editable text fields
Wednesday, May 22, 2019 at 07:54amReply to: Editable text fields
Wednesday, May 22, 2019 at 07:56am