List of available fields for the inquiry form

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

  • name
  • e-mail
  • category
  • message

fetched from Gyazo

You can add items to the form by configuring the extended inquiry item settings.

fetched from Gyazo

For the extended items, you can click [Settings] to configure input restrictions and display contents. Settings vary depending on the input format; see the extended items list below for details.

fetched from Gyazo

Common settings

A few settings are common to all items.

fetched from Gyazo

ItemDescription
Required attributeSelect if the attribute is required, optional, or not in use.
Options settingsDisplays the item settings as a string.
[Settings] linkClick to open the settings dialog.
AnnotationShort note or comment about the item.

Apart from manual input, changes made in the settings dialog may be automatically reflected in the "Options settings" field. For example:

fetched from Gyazo

Extended items list

The list of available input formats are as follows:

Short text (input box)

Settings

fetched from Gyazo

ItemDescription
Input typeInput restrictionRestrictions on 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 number of input characters allowed.
maxMaximum number of input characters allowed.
PlaceholderEnter a short hint for the expected input value.

JSON response

Below is a sample JSON response for the input settings.

fetched from Gyazo

"cols": {
    ...
    "ext_01": {
        "msg": "",
        "type": 1,
        "title": "text",
        "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": ""
        }
    },
    ...
}

Long text (text area)

Settings

fetched from Gyazo

ItemDescription
Input typeInput restrictionRestrictions on 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 number of input characters allowed.
maxMaximum number of input characters allowed.
PlaceholderEnter a short hint for the expected input value.

JSON response

Below is a sample JSON response for the input settings.

fetched from Gyazo

"cols": {
    ...
    "ext_02": {
        "msg": "",
        "type": 2,
        "title": "sentence",
        "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": ""
        }
    },
    ...
}

Single choice (radio button)

Settings

fetched from Gyazo

Item/ButtonDescription
Input typeRandomize the display of selection itemsCheck this box to return the values in a randomized order.
Selection(s)AddAdd a new option.
NumberKey for the corresponding option.
ElementValue of the corresponding option.
GroupGroup ID for the corresponding option.
Initial valueCheck this box to set the corresponding option as the default.
DeleteDelete the corresponding option.

JSON response

Below is a sample JSON response for the input settings.

fetched from Gyazo

Options settings:

1::value1::attribute::group::group1
2::value2::attribute::group::group1
3::default::value3::attribute::group::group3
"cols": {
    ...
    "ext_03": {
        "msg": "",
        "type": 3,
        "title": "single radio",
        "options": {
            "1": "value1",
            "2": "value2",
            "3": "value3"
        },
        "order_no": 0,
        "required": 1,
        "validate": [],
        "option_default": [
            "3"
        ],
        "option_group": {
            "1": "group1",
            "2": "group1",
            "3": "group3"
        },
        "contents": [
            {
            "key": 1,
            "value": "value1",
            "default": false,
            "attribute": {
                "group": "group1"
            }
            },
            {
            "key": 2,
            "value": "value2",
            "default": false,
            "attribute": {
                "group": "group1"
            }
            },
            {
            "key": 3,
            "value": "value3",
            "default": true,
            "attribute": {
                "group": "group3"
            }
            }
        ],
        "attribute": {
            "parent_elm": ""
        }
    },
    ...
}

Single option (dropdown list)

Settings

fetched from Gyazo

Item/ButtonDescription
Input typeRandomize the display of selection itemsCheck this box to return the values in a randomized order.
Selection(s)AddAdd a new option.
NumberKey for the corresponding option.
ElementValue of the corresponding option.
GroupGroup ID for the corresponding option.
Initial valueCheck this box to set the corresponding option as the default.
DeleteDelete the corresponding option.

JSON response

Below is a sample JSON response for the input settings.

fetched from Gyazo

Options settings:

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

Multiple choice (checkbox)

Settings

fetched from Gyazo

Item/ButtonDescription
Input typeRandomize the display of selection itemsCheck this box to return the values in a randomized order.
Selection(s)AddAdd a new option.
NumberKey for the corresponding option.
ElementValue of the corresponding option.
GroupGroup ID for the corresponding option.
Initial valueCheck this box to set the corresponding option as the default.
DeleteDelete the corresponding option.

JSON response

Below is a sample JSON response for the input settings.

fetched from Gyazo

Options settings:

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

Date format

Settings

fetched from Gyazo

Item/ButtonDescription
Selection settingsSet date rangeCheck this box to set the date range.
Year (min)Start year for the input range.
Year (max)End year for the input range.
Ascending order (year) [x]Check 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.*

*See: PHP strtotime() examples for the date format.

JSON response

Below is a sample JSON response for the input settings.

fetched 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
            }
        }
    },
    ...
}

File

Settings

fetched from Gyazo

Item/ButtonDescription
Selection settingsExtensionSpecify the allowed upload file extension.
AddAdd an allowed upload file extension.
DeleteRemove the corresponding upload file extension.

JSON response

Below is a sample JSON response for the input settings.

fetched 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": ""
        }
    },
    ...
}

JSON

JSON response

Below is a sample JSON response for the input settings.

fetched from Gyazo

"cols": {
    ...
    "ext_08": {
        "msg": "",
        "type": 8,
        "title": "json",
        "options": null,
        "order_no": 0,
        "required": 1,
        "validate": [],
        "option_default": [],
        "option_group": [],
        "attribute": {
            "parent_elm": ""
        }
    },
    ...
}

Matrix

Settings

fetched from Gyazo

Item/ButtonDescription
Input typeTypeSelect the field type (single or multiple choice)
Randomize the display of selection itemsCheck this box to return the values in a randomized order.
Selection options - columnsAddAdd a new column.
NumberKey for the corresponding column.
ElementValue of the corresponding column.
DeleteDelete the corresponding column.
Selection options - rowsAddAdd a new row.
NumberKey for the corresponding row.
ElementValue of the corresponding row.
DeleteDelete the corresponding row.

JSON response

Below is a sample JSON response for the input settings.

fetched 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"
        }
    },
    ...
}

If you have any other questions, please use our contact form or Slack workspace.