@ -4,3 +4,8 @@ echo "string = $string"
echo "integer = $integer"
echo "float = $float"
echo "date = $date"
echo "radio = $radio"
echo "text = $text"
echo "password = $password"
echo "file = $file"
echo "file name = $file__name"
@ -38,6 +38,34 @@
"required": true,
"min": "2015-01-01",
"max": "2015-02-01"
},
{
"name": "radio",
"title": "A radio",
"type": "radio",
"options": [
["One", "one"],
["Two", "two"],
["Three", "three"]
]
"name": "text",
"title": "A text input field",
"type": "text",
"rows": 2,
"cols": 50,
"maxlen": 100,
"minlen": 10
"name": "password",
"title": "A password input field",
"type": "password",
"minlen": 5
}