Create your form using JSON.
{
"id": "contact",
"fieldsets": [
{
"legend": "Contact",
"fields": [
{
"id": "name",
"label": "Your name",
"type": "text"
},
{
"id": "email",
"label": "Email",
"type": "text",
"validations": [
{
"type": "email",
"error": "Email is not valid."
}
]
},
{
"id": "message",
"label": "Message",
"type": "textarea"
}
]
}
]
}
A form framework based on SVELTE and TypeScript.