You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scriptform/test/test_formdefinition_validat...

48 lines
1.2 KiB

10 years ago
{
"title": "test",
"forms": [
{
"name": "test_val_string",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_string",
"type": "string",
"minlen": 4,
"maxlen": 6
}
]
},
{
"name": "test_val_integer",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_integer",
"type": "integer",
"min": 4,
"max": 6
}
]
},
{
"name": "test_val_float",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_float",
"type": "float",
"min": 2.1,
"max": 2.3
}
]
}
]
}