Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Preferences
Replies
Topics Started
Topic Started
This user has not created any forum posts.
Replies Created
Reply to: No Fields or Signatures mapped to form
Tuesday, September 20, 2016 at 08:33amdoes that work in sandbox.e-signlive.com as well, I noticed your posting to sandbox.esignlive.com?
Reply to: No Fields or Signatures mapped to form
Tuesday, September 20, 2016 at 09:25amWow this is super frustrating, the fields just don't show up for me in the sand box.
I have double check field names, opened the form and copy pasted the names directly from the named field to my code. Also you are using the same names and it seems to be working for you?
I am running the code and looking in the Draft folder. I click the form and can see both signature fields are marked but no injected fields are populated.
Also earlier you asked what version of the SDK I was running it looks like Silanis.ESL.SDK version 11.0
Maybe values are getting dropped in the post?
Reply to: No Fields or Signatures mapped to form
Tuesday, September 20, 2016 at 09:57amI have simplified the code just trying to see one injected text field.
Using the same form I have posted here with all text fields. I am expecting the first text field to be populated "I_txtMyPrintName". I have attached a screen shot of the field name in the actual PDF I am uploading and the view I am looking at in the sandbox.
Is it possible I am not looking at this correctly in the sandbox? Are there different views that might show the fields? I am simply clicking on the form under the draft box, but I think it working as it shows the signature fields.
string apiUrl = "https://sandbox.e-signlive.com/api"; // USE https://apps.esignlive.com/api FOR PRODUCTION string apiKey = "api_key"; try { EslClient eslClient = new EslClient(apiKey, apiUrl); string FormPath = Server.MapPath("~/Forms/Adv_Directives_Combined_2008_02.pdf"); FileStream fs = System.IO.File.OpenRead(FormPath); DocumentPackage thisPackage = PackageBuilder .NewPackageNamed("Advanced Directives Combined Form") .WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings()) .WithSigner(SignerBuilder.NewSignerWithEmail(model.SignerEmail) .WithFirstName(model.SignerFirstName) .WithLastName(model.SignerLastName) .SigningOrder(1)) .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]") .WithFirstName("Todd") .WithLastName("Crisafulli") .SigningOrder(2)) .WithDocument(DocumentBuilder.NewDocumentNamed("MentalHealthCareDeclaration_" + model.SignerFirstName + "_" + model.SignerLastName) .EnableExtraction() .FromStream(fs, DocumentType.PDF) .WithSignature(SignatureBuilder.SignatureFor(model.SignerEmail) .WithName("V_txtMySignature") .WithPositionExtracted()) .WithSignature(SignatureBuilder.SignatureFor("[email protected]") .WithName("IIIA_txtAgentSignature") .WithPositionExtracted()) .WithInjectedField(FieldBuilder.TextField() .WithName("I_txtMyPrintName") .WithValue("John Doe") .WithPositionExtracted()) //.WithInjectedField(FieldBuilder.CheckBox() //.WithName("IIA_cbxPsychiatricFacilityPrefered") //.WithValue(true) //.WithPositionExtracted()) //.WithInjectedField(FieldBuilder.RadioButton("IIA_rdoRecommendedMedication") // this is the radio button group name on the PDF //.WithName("IIA_rdoRecommendedMedicationsYes") //.WithValue(false) //.WithPositionExtracted()) //.WithInjectedField(FieldBuilder.RadioButton("IIA_rdoRecommendedMedication") // this is the radio button group name on the PDF //.WithName("IIA_rdoRecommendedMedicationsNo") //.WithValue(true) //.WithPositionExtracted()) ) .Build(); PackageId packageId = eslClient.CreatePackage(thisPackage); //eslClient.SendPackage(packageId);
Reply to: No Fields or Signatures mapped to form
Tuesday, September 20, 2016 at 10:40amOh man! = ) When I remove that line of code the injected fields show up but the signature fields are no longer tagged? Is that by design?
Originally I was not able to get the signature fields to show up and that line of code was suggested to make it work which it did.
Reply to: No Fields or Signatures mapped to form
Tuesday, September 20, 2016 at 11:08amThanks for sticking with me, I was starting to think I was going crazy.
Subscriptions
This user is not subscribed to any release notes.
Subscriptions Release Notes
This user is not subscribed to any release notes.