Changing the output case of text fields

With the default settings, the text fields are recognized in capital letters. However, it is possible to provide text fields with different spellings using the convertCase query parameter.

Possible settings convertCase:

  • No change = 0
  • Only uppercase letters = 1
  • Small letters only = 2
  • First uppercase letters = 3

Note

This setting affects the output of ALL text fields except dates, numbers, country codes, and issuing authority codes.

As an example, we will use this query to capitalize the first character of a text box and lowercase the rest. 

Example for Web API demo page

  1. In the Custom parameters field use the parameter:
{ "convertCase" : 3}

  1. When using JSON-request:
{
    "processParam": {
        "scenario": "FullProcess",
        "customParams": {
            "convertCase": 3
        },
        "doublePageSpread": true
    },

Using Document Reader SDK

To use this function in the Document Reader application, place the RegulaReader.json file from the archive in the following folder:

  • For x86 version C:\Users\%User%\AppData\Local\Regula\Document Reader SDK
  • For x64 version C:\Users\%User%\AppData\Local\Regula\Document Reader SDK (x64)

You can change the value of the convertCase parameter to the required.

Example of output:

UN_______________.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more