Skip to main content

List of available fields in the inquiry form

​ By default, all inquiry forms contain the following fields:

  • name
  • email
  • category
  • message

Image from Gyazo

You can add fields by configuring the additional field settings.

Image from Gyazo

For the each fields, you can click [Settings] to configure input restrictions and display contents.

Image from Gyazo

Settings vary depending on the input format; see the Additional field list below for details.

Common settings

The following settings are common to all fields.

Image from Gyazo

SettingDescription
Required attributeSelect if the field is required, optional, or not in use.
Optional settingsEnter the settings as a string.
[Settings] linkClick to open the settings configuration dialog.
AnnotationShort note or comment about the field.

Apart from manual input, changes made in the settings dialog may be automatically reflected in "Input settings".

Example: Date input restriction

Image from Gyazo

Additional field list

The list of available input formats are as follows:

Single-line text
Multi-line text
Single choice (radio button)
Dropdown selection
Multiple choice (checkbox)
Date
Bool
File (upload to KurocoFiles)
File (upload to GCS)
File on S3
Matrix

Text

Single-line text

Settings

Image from Gyazo

FieldDescription
Input typeInput restrictionSet the type of character strings allowed as input.
Regular expressionIf you select the Regular expression option, enter the corresponding regular expression in the textbox that appears below.
Character limitminMinimum input length allowed.
maxMaximum input length allowed.
PlaceholderEnter a short hint for the expected input value.
Parent fieldThe content you enter will be included in the response.

Example JSON response

Image from Gyazo

"cols": {
...
"ext_01": {
"msg": "",
"type": 1,
"title": "Name",
"options": [],
"order_no": 0,
"required": 1,
"validate": {
"min_length": "10",
"type": "regex",
"regex": "^\\d+$",
"max_length": "20",
"parent_elm": "name",
"placeholder": "number"
},
"option_default": [],
"option_group": [],
"attribute": {
"parent_elm": "name",
"min_length": "10",
"type": "regex",
"regex": "^\\d+$",
"max_length": "20",
"placeholder": "number",
"limit_type": ""
}
},
...
}

Multi-line text

Settings

Image from Gyazo

FieldDescription
Character limitminMinimum input length allowed.
maxMaximum input length allowed.
Parent fieldThe content you enter will be included in the response.

Example JSON response

Image from Gyazo

"cols": {
...
"ext_02": {
"msg": "",
"type": 2,
"title": "E-mail",
"options": [],
"order_no": 0,
"required": 1,
"validate": {
"type": "email",
"placeholder": "email",
"parent_elm": "ext_01"
},
"option_default": [],
"option_group": [],
"attribute": {
"parent_elm": "ext_01",
"type": "email",
"placeholder": "email",
"limit_type": "",
"min_length": "",
"max_length": ""
}
},
...
}

Selection

Single choice (radio button)

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Display options in randomized orderSelect this box to return the values in a randomized order.
OptionsAddAdd a new option.
NumberKey for this option.
ElementValue of this option.
GroupGroup ID of this option.
Initial valueSelect this box to set this option as the default.
DeleteDelete this option.

Example JSON response

fetched from Gyazo

Options settings:

1::Daily::attribute::group::group1
2::Weekly::attribute::group::group1
3::default::Monthly::attribute::group::group3
"cols": {
...
"ext_03": {
"msg": "",
"type": 3,
"title": "Frequency",
"options": {
"1": "Daily",
"2": "Weekly",
"3": "Monthly"
},
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [
"3"
],
"option_group": {
"1": "group1",
"2": "group1",
"3": "group3"
},
"contents": [
{
"key": 1,
"value": "Daily",
"default": false,
"attribute": {
"group": "group1"
}
},
{
"key": 2,
"value": "Weekly",
"default": false,
"attribute": {
"group": "group1"
}
},
{
"key": 3,
"value": "Monthly",
"default": true,
"attribute": {
"group": "group3"
}
}
],
"attribute": {
"parent_elm": ""
}
},
...
}

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Display options in randomized orderSelect this box to return the values in a randomized order.
OptionsAddAdd a new option.
NumberKey for this option.
ElementValue of this option.
GroupGroup ID of this option.
Initial valueSelect this box to set this option as the default.
DeleteDelete this option.

Example JSON response

Image from Gyazo

Options settings:

1::default::Yes
2::No
"cols": {
...
"ext_04": {
"msg": "",
"type": 4,
"title": "Binary question",
"options": {
"1": "Yes",
"2": "No"
},
"order_no": 0,
"required": 1,
"validate": {
"random": "1"
},
"option_default": [
"1"
],
"option_group": [],
"contents": [
{
"key": 1,
"value": "Yes",
"default": true,
"attribute": {}
},
{
"key": 2,
"value": "No",
"default": false,
"attribute": {}
}
],
"attribute": {
"parent_elm": "",
"random": "1"
}
},
...
}

Multiple choice (checkbox)

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Display options in randomized orderSelect this box to return the values in a randomized order.
OptionsAddAdd a new option.
NumberKey for this option.
ElementValue of this option.
GroupGroup ID of this option.
Initial valueSelect this box to set this option as the default.
DeleteDelete this option.

Example JSON response

Image from Gyazo

Options settings:

1::default::English
2::Japanese
"cols": {
...
"ext_05": {
"msg": "",
"type": 5,
"title": "Language",
"options": {
"1": "English",
"2": "Japanese"
},
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [
"1"
],
"option_group": [],
"contents": [
{
"key": 1,
"value": "English",
"default": true,
"attribute": {}
},
{
"key": 2,
"value": "Japanese",
"default": false,
"attribute": {}
}
],
"attribute": {
"parent_elm": ""
}
},
...
}

Date

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Options settingsAlso include time range (hh:mm)Select this box to include time in addition to date in the selector.
Year (min)Start year for the input range.
Year (max)End year for the input range.
Ascending order (year)Select this box to sort the years entered in ascending order.
Input typeOrigin dateFor date ranges, enter the base date.*
Relative start offsetFor date ranges, enter the start date.*
Relative end offsetFor date ranges, enter the end date.*

*For more information on date formatting, see PHP strtotime() examples.

Example JSON response

Image from Gyazo

Options settings:

add_time::1
minYear::2022
maxYear::2020
originStrDate::2021-10-10
minPeriod::+30 day
maxPeriod::-1 week 2 days 4 hours 2 seconds
"cols": {
...
"ext_06": {
"msg": "",
"type": 6,
"title": "Date",
"options": {
"add_time": "1",
"minYear": "2022",
"maxYear": "2020",
"originStrDate": "2021-10-10",
"minPeriod": "+30 day",
"maxPeriod": "-1 week 2 days 4 hours 2 seconds",
"arrYear": {
"2020": 2020,
"2021": 2021,
"2022": 2022
}
},
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [],
"option_group": [],
"attribute": {
"parent_elm": "",
"add_time": "1",
"minYear": "2022",
"maxYear": "2020",
"originStrDate": "2021-10-10",
"minPeriod": "+30 day",
"maxPeriod": "-1 week 2 days 4 hours 2 seconds",
"arrYear": {
"2020": 2020,
"2021": 2021,
"2022": 2022
}
}
},
...
}

Bool

Settings

Image from Gyazo

Field/ButtonDescription
DefaultWhen the checkbox is selected, a response with the options item {"key": "default", "value": "****"} will be added.

Example JSON response

Image from Gyazo

Options settings:

default::true
"cols": {
...
"ext_09": {
"key": "ext_09",
"msg": "",
"type": 13,
"title": "Bool",
"options": [
{
"key": "default",
"value": "true"
}
],
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [],
"option_group": [],
"attribute": {
"parent_elm": ""
}
},
...
}

File

File (upload to KurocoFiles)

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Options settingsExtensionSpecify the allowed upload file extension. If not specified, the following extensions are allowed: jpg, jpeg, gif, png, pdf.
AddAdd an allowed file extension.
DeleteRemove this file extension.

Example JSON response

Image from Gyazo

Options settings:

png
jpg
"cols": {
...
"ext_07": {
"msg": "",
"type": 7,
"title": "File",
"options": [
"png\r",
"jpg"
],
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [],
"option_group": [],
"extensions": [
"png\r",
"jpg"
],
"attribute": {
"parent_elm": ""
}
},
...
}

File (upload to GCS)

File(upload to GCS) are available after integration with Firebase.

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Options settingsExtensionSpecify the allowed upload file extension. If not specified, the following extensions are allowed: jpg, jpeg, gif, png, pdf.
AddAdd an allowed file extension.
DeleteRemove this file extension.

Example JSON response

Image from Gyazo

Options settings:

png
jpg
"cols": {
...
"ext_04": {
"msg": "",
"type": 11,
"title": "file_gcs",
"options": [
"png",
"jpg"
],
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [],
"option_group": [],
"extensions": [
"png",
"jpg"
],
"attribute": {
"parent_elm": ""
}
},
...
}

File on S3

File on S3 are available after integration with Amazon S3.

Settings

Image from Gyazo

Field/ButtonDescription
Input typeParent fieldThe content you enter will be included in the response.
Options settingsExtensionSpecify the allowed upload file extension. If not specified, the following extensions are allowed: jpg, jpeg, gif, png, pdf.
AddAdd an allowed file extension.
DeleteRemove this file extension.

Example JSON response

Image from Gyazo

Options settings:

png
jpg
"cols": {
...
"ext_04": {
"msg": "",
"type": 12,
"title": "file_s3",
"options": [
"png",
"jpg"
],
"order_no": 0,
"required": 1,
"validate": [],
"option_default": [],
"option_group": [],
"extensions": [
"png",
"jpg"
],
"attribute": {
"parent_elm": ""
}
},
...
}

Other

Matrix

Settings

Image from Gyazo

Field/ButtonDescription
Input typeTypeSelect the field type (single or multiple choice)
Parent fieldThe content you enter will be included in the response.
Display options in randomized orderSelect this box to return the values in a randomized order.
Options - columnsAddAdd a new column.
NumberKey for this column.
ElementValue of this column.
DeleteDelete this column.
Options - rowsAddAdd a new row.
NumberKey for this row.
ElementValue of this row.
DeleteDelete this row.

Example JSON response

Image from Gyazo

Options settings:

COL::1::column1
COL::2::column2
ROW::1::row1
ROW::2::row2
"cols": {
...
"ext_09": {
"msg": "",
"type": 10,
"title": "Matrix",
"options": {
"COL": {
"1": "column1",
"2": "column2"
},
"ROW": {
"1": "row1",
"2": "row2"
}
},
"order_no": 0,
"required": 1,
"validate": {
"selection_type": "multiple",
"random": "1"
},
"option_default": [],
"option_group": [],
"contents": [
{
"key": 1,
"value": "row1",
"attribute": {
"matrix_type": "ROW"
}
},
{
"key": 2,
"value": "row2",
"attribute": {
"matrix_type": "ROW"
}
},
{
"key": 1,
"value": "column1",
"attribute": {
"matrix_type": "COL"
}
},
{
"key": 2,
"value": "column2",
"attribute": {
"matrix_type": "COL"
}
}
],
"attribute": {
"parent_elm": "",
"selection_type": "multiple",
"random": "1"
}
},
...
}

Support

If you have any other questions, please contact us or check out Our Slack Community.