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...

75 lines
1.9 KiB

10 years ago
{
"title": "test",
"forms": [
10 years ago
{
"name": "test_required",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "string",
"type": "string",
"required": true
}
]
},
10 years ago
{
"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
}
]
10 years ago
},
{
"name": "test_val_date",
"title": "title",
"description": "description",
"script": "test.sh",
"fields": [
{
"name": "val_date",
"type": "date",
"min": "2015-03-02",
"max": "2015-03-05"
}
]
10 years ago
}
]
}