Bikram

Custom Field with default position(Height and Width)

0 votes

Is it possible to define a custom height and width of a field, especially the custom fields so that when the user drags and drops the fields, a particular height and width of the custom field is dragged on the document? Yes, the user can change the size but the only thing we want is a default width and height of the custom field when they are dragging for the first time? Please let me know, I am working on it. 


Approved Answer

Reply to: Custom Field with default position(Height and Width)

0 votes

Hi Bikram,

 

Unfortunately, I don't think it's possible to customize the default size of custom field (or other field types). If we look at how custom fields are stored at OneSpan Sign with below call, we'll find that only field name, description and default value will be stored, but no size information:
GET /api/account/senders/{senderId}

{

    ......

    "userCustomFields": [

        {

            "id": "driverlicense",

            "data": null,

            "translations": [

                {

                    "description": "",

                    "language": "en",

                    "id": "",

                    "data": null,

                    "name": "Driver License"

                }

            ],

            "value": "xxxx-xxxx-xx",

            "name": ""

        }

    ],

    ......

}

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Custom Field with default position(Height and Width)

0 votes

Thank you Duo, to add on this one, is it possible to hide the name of the field when dragging dropping as per our convenience. As we will be prefilling the custom field before send to sign, we would like to hide the name of the field, just to have a field with a value, not the name of the field? Is it possible, please let me know? 


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off