Topic Started
Replies Created
Reply to: Text Tags - Word Doc field not updating
Monday, April 17, 2023 at 01:49pmReply to: Injecting Field Values - Checkboxes and Radio buttons
Tuesday, April 25, 2023 at 01:45pmHi Duo. So we created a JSON payload (attached) and uploaded our forms. We get a response that the package is successfully created. However, when we query the package through an API call (ex. https://sandbox.esignlive.com/api/packages/S4Yk7Df3CmNpZaGtG6WmT14gbOU=) the JSON we get back does indeed contain all the field injected values we sent, including X for the checkboxes and radio buttons.
However, when we sign into our OneSpan sandbox and view the forms on the dashboard, they contain no field injected values. The fields are all blank.
Reply to: Injecting Field Values - Checkboxes and Radio buttons
Tuesday, May 2, 2023 at 12:40pmThank you Duo. We are able to see the data now. Question: if we upload a PDF that has condition logic for some of the fields, will OneSpan create the template and keep that logic or do we need to add it to the JSON payload?
Reply to: Injecting Field Values - Checkboxes and Radio buttons
Tuesday, May 2, 2023 at 02:11pmYes, that's correct. Are there any examples of what that conditions node would look like in the JSON payload?
Reply to: Injecting Field Values - Checkboxes and Radio buttons
Wednesday, May 10, 2023 at 10:00amThank you Duo. We had the samples working but now we're getting errors back such as this, even though we send one document and a very simple payload, which hasn't changed.
{"messageKey":"error.validation.documentPreVerifyInvalidResponseNumberError","parameters":{"errorException":"number of documents that need verification = 2, number of verification results = 0"},"message":"The number of Pre-Verify results does not match the number of documents that were sent for verification.","code":400,"name":"Validation Error"}
The above JSON payload worked. Thank you Duo. I was paring down the JSON a little too much and it needed the validation property.
"validation": {
"group": "",
"errorCode": null,
"required": false,
"maxLength": null,
"minLength": null,
"enum": null,
"disabled": false,
"minimumRequired": null,
"maximumRequired": null,
"errorMessage": "",
"pattern": ""
},