Account
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Preferences
Topic Started
Topics |
---|
Can a checkbox or radio button be "checked" or selected by sending a value in the JSON payload? We are having trouble getting a checkbox to show up as selected or checked. Text fields work fine. |
We are trying to test how well text tagging will work for us and cannot get a simple field to populate with data. I'm sure it's just a text tag/or json payload issue. Payload: |
Is it possible with text tag extraction to send two PDF documents with the payload? If so, can you share an example - we are not finding any examples? |
Replies Created
Reply to: Ability to send 2 DOCX files with a single payload for Text Tag Extraction
Tuesday, April 11, 2023 at 11:04amExcellent, thank you for the super quick response and code sample. We now have working logic!
Reply to: Ability to send 2 DOCX files with a single payload for Text Tag Extraction
Tuesday, April 11, 2023 at 03:05pmWould you happen to have an example of doing this using CURL in PHP? We've tried several ways of getting it to upload the files but instead it just creates empty docs with just the file path strings.
Reply to: Ability to send 2 DOCX files with a single payload for Text Tag Extraction
Wednesday, April 12, 2023 at 12:35pmThank you Duo. We made a successful call with two different forms (.docx and .pdf) using your code example.
Reply to: Text Tags - Word Doc field not updating
Monday, April 17, 2023 at 11:04amHi Duo. Thank you for your help. I tried your suggestion but when I got to step 4 and sent this PUT statment, I get a 404 - Not found error. I double checked and the ID values are correct:
PUT: https://sandbox.esignlive.com/api/packages/o2M1p5F13mJTfgbse7mfT0UylB8=/documents/TestWordDoc1/fields/clientId
I sent the entire JSON payload back with the new value for clientid.
Reply to: Text Tags - Word Doc field not updating
Monday, April 17, 2023 at 12:28pmOK, I tried that and I just get a 400 (Bad Request) response now.
Also, is it necessary to send the entire JSON payload back in order to update one field?
NOTE: I tried sending both the full JSON back (received error code 400, text file is attached with full JSON) and just the below JSON string (which got back HTTP code 200) but did not update the field
{ "status": "SENT","id":"o2M1p5F13mJTfgbse7mfT0UylB8=","documents":[{"id":"TestWordDoc1","approvals":[{"id":"clientSig","fields":[{"id":"clientId","value":"123456789"}]}]}]}
I've attached the full JSON package data I get back from OneSpan when I call GET Package on: https://sandbox.esignlive.com/api/packages/o2M1p5F13mJTfgbse7mfT0UylB8=
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Can a checkbox or radio button be "checked" or selected by sending a value in the JSON payload? We are having trouble getting a checkbox to show up as selected or checked. Text fields work fine. |
10 | 6 months 2 weeks ago | 86 | ![]() |
We are trying to test how well text tagging will work for us and cannot get a simple field to populate with data. I'm sure it's just a text tag/or json payload issue. Payload: |
6 | 7 months 1 week ago | 39 | ![]() |
Is it possible with text tag extraction to send two PDF documents with the payload? If so, can you share an example - we are not finding any examples? |
5 | 7 months 2 weeks ago | 58 | ![]() |