Account


Earned badges

Achievement: Latest Unlocked

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: Text Tags - Word Doc field not updating

0 votes

Hi 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

0 votes

OK, 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 1 year ago 136
Profile picture for user Duo_Liang

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 1 year 1 month ago 51
Profile picture for user Duo_Liang

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 1 year 1 month ago 66
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.