Table of Contents

Search

  1. Preface
  2. Overview, Downloading, and Installing
  3. Administration API
  4. Identity Service API
  5. Screenflow Programming and SDK
  6. ActiveVOS WSHT API
  7. Embedding Request Forms in Standalone Web Pages
  8. XML-JSON for Process Central

7. APIs, SDKs, and Services

7. APIs, SDKs, and Services

Additional Format Options for Strings

Additional Format Options for Strings

You can add a JSON format as a rendering hint for strings. For example, a U.S. telephone number can have a rendering hint such as:
<tns:renderingHint> { format : "(999) 999-9999" } </tns:renderingHint>
The format consists of the following special characters:
  • a: Represents an alphabetic character (A-Z,a-z)
  • 9: Represents a numeric character (0-9)
  • *: Represents an alphanumeric character (A-Z,a-z,0-9)
Some example formats are:
  • "(999) 999-9999" (U.S. phone number)
  • "999aaa" (an Id with three digits and three letters)