Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
Hello , I am creating few approval fields , where I am passing data in following format :

         {
                    "page":0,
                    "subtype":"TEXTFIELD",
           
Hie, I am adding fields to pdf using approval(in json format).

Replies Created

Reply to: layout updation by data of system

0 votes
Hie there, It would be great if you can you provide the json format to add a radio field to an approval. Say for example I have field of age groups (like below 11, 11 to 20, 21 to 30, above 30). I want to select 11 to 20 by default in our example. How can I pass the values into json ? I found that probably I will need to provide radio group but I don't know what is the json key for that and also don't know what should be passed into "value" to select a particular option among radio group. To visualize how my group will look like , here is the link to sample image : http://i.imgur.com/1ar7jyQ.png I also want to know the format of a json for checking a simple checkbox(check box should be checked or un-checked based on a condition). Example piece of json I tried is :

{
                    "page":0,
                    "subtype":"CHECKBOX",
                    "width":20,
                    "binding":None,
                    "extract":False,
                    "extractAnchor":None,
                    "left":18,
                    "top":933,
                    "validation":None,
                    "height":20,
                    "data":None,
                    "name": "receive_future_conmmunication",
                    "type":"INPUT",
                    "value":"True" if condition == True else "False"
                }
Thanks.

Reply to: layout updation by data of system

0 votes
Found the solution for check-box. Still don't know about radio buttons. Can you provide format for a group of radio button with one of them selected ?

Reply to: Id/Data in json format restricts changes in approval

0 votes
Hie Michael, I am posting to the url https://sandbox.esignlive.com/api/packages/. And I am passing json payload to the files argument while posting. It works well and data appears over PDF. What I want is I want to pass some data along with fields and get it back after the package is completed. Basically, I want to compare whether the value passed with fields have been modified by the signer or not. If can pass values to the data (or any other field attribute than values), I will be able to compare between passed data and return values. Thanks!

Reply to: Id/Data in json format restricts changes in approval

0 votes
Sorry to spam, link to edit my previous post is gone. I only want to know about This data attribute of a custom field. According to my understanding it says that we can pass arbitrary data set(data with our choice) while creating a field and this data will travel with the field throughout the cycle. If I am right, how in above JSON(first post of this thread ) we can assign 'data' attribute with some value? So that we can receive those values with a get request (/packages/{packageId}/documents/{documentId}/approvals/{approvalId}). Thanks.

Subscriptions

Topics Replies Freshness Views Users
Hello , I am creating few approval fields , where I am passing data in following format :

         {
                    "page":0,
                    "subtype":"TEXTFIELD",
           
5 8 years 2 months ago 19
Profile picture for user dharmraj
Profile picture for user mwilliams
Hie, I am adding fields to pdf using approval(in json format).
2 8 years 2 months ago 45
Profile picture for user harishaidary
Profile picture for user mwilliams
Hi Team, We are able to successfully upload a single document while creating a package .
11 8 years 2 months ago 24
Profile picture for user dharmraj
Profile picture for user mwilliams

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.