{"_id":"5b8ec6a1f8dd7c0003386043","category":{"_id":"5b8ec6a1f8dd7c0003385faa","version":"5b8ec6a1f8dd7c0003386069","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":8,"slug":"resources","title":"Resources"},"user":"560d5913af97231900938124","parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"5b8ec6a1f8dd7c0003386069","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5b19742cb3baf90003cab5ae","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z","categories":["5b8ec6a1f8dd7c0003385fa2","5b8ec6a1f8dd7c0003385fa3","5b8ec6a1f8dd7c0003385fa4","5b8ec6a1f8dd7c0003385fa5","5b8ec6a1f8dd7c0003385fa6","5b8ec6a1f8dd7c0003385fa7","5b8ec6a1f8dd7c0003385fa8","5b8ec6a1f8dd7c0003385fa9","5b8ec6a1f8dd7c0003385faa","5b8ec6a1f8dd7c0003385fab","5b8ec6a1f8dd7c0003385fac"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.27 Release","version_clean":"8976.0.0-Extended","version":"8976-Extended"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-28T13:23:24.168Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":94,"body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"1-0\": \"`maximum-length`\",\n    \"1-1\": \"*integer*\",\n    \"h-3\": \"Description\",\n    \"1-3\": \"Maximum length of text allowed in the custom field.\",\n    \"1-2\": \"Optional\",\n    \"0-0\": \"`minimum-length`\",\n    \"0-1\": \"*integer*\",\n    \"0-2\": \"Optional\",\n    \"0-3\": \"Minimum length of text allowed in the custom field.\",\n    \"2-0\": \"`regex-validation`\",\n    \"2-1\": \"*string*\",\n    \"2-2\": \"Optional\",\n    \"2-3\": \"Validation of the custom field, represented as a regular expression.\"\n  },\n  \"cols\": 4,\n  \"rows\": 3\n}\n[/block]\n\n###Response\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"1-0\": \"`maximum-length`\",\n    \"1-1\": \"*integer*\",\n    \"1-2\": \"Maximum length of text allowed in the custom field.\",\n    \"0-0\": \"`minimum-length`\",\n    \"0-1\": \"*integer*\",\n    \"0-2\": \"Minimum length of text allowed in the custom field.\",\n    \"2-0\": \"`regex-validation`\",\n    \"2-1\": \"*string*\",\n    \"2-2\": \"Validation of the custom field, represented as a regular expression.\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]","excerpt":"","slug":"short-text-type","type":"basic","title":"short-text-type"}

Request

Property Name
Type
Required
Description

minimum-length

integer

Optional

Minimum length of text allowed in the custom field.

maximum-length

integer

Optional

Maximum length of text allowed in the custom field.

regex-validation

string

Optional

Validation of the custom field, represented as a regular expression.

Response

Property Name
Type
Description

minimum-length

integer

Minimum length of text allowed in the custom field.

maximum-length

integer

Maximum length of text allowed in the custom field.

regex-validation

string

Validation of the custom field, represented as a regular expression.