Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4802

How setup Date field with validation

$
0
0

I use adobe rest API v6. I want to send an agreement to an user with Date field and the date field should have validation. I send the following json. User can see a text field but without formatting. Adobe can validate user's data only if data has a date format.

Actual: 21.01.2024 - is ok for Adobe but not for me

Expected: 21/01/2024 - is ok for me

I think I need to configure validation& validationData but how to do that? I need a clue.

{"name": "Sinatures","signatureType": "ESIGN","state": "IN_PROCESS","status": null,"formFieldGenerators": [        {"participantSetName": "unknown","formFieldNamePrefix": "//textu11//","generatorType": "ANCHOR_TEXT","formFieldDescription": {"contentType": "DATA","inputType": "TEXT_FIELD","required": true,"masked": false,"fontName": null,"fontColor": null,"fontSize": null,"displayFormatType" : "DATE","displayFormat": "mm/dd/yyyy","validationData": "mm/dd/yyyy","validation": "DATE_CUSTOM"            },"anchorTextInfo": {"anchorText": "//textu11//","anchoredFormFieldLocation": {"height": 20,"width": 150,"offsetX": 20,"offsetY": 0                }            }        }    ]}

Viewing all articles
Browse latest Browse all 4802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>