
-
> Yeah, is anyone familiar with other DSLs for form/survey building and logic?
This would be one: https://github.com/leemeichin/ask_awesomely
That's a client library for interacting with now defunct Typeform I/O, so it won't work anymore. But maybe the DSL itself could be an inspiration, or you could wrangle a fork of the library to create the forms locally.
-
SurveyJS
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
-
libphonenumber
Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.
If you read the parent comment here as I did originally, about it being text as opposed to a number field, see points 18, 19, 23, and 25 on https://github.com/google/libphonenumber/blob/master/FALSEHO...
The field on the form is indeed of `type=tel`, which Mozilla helpfully points out has no validation (see the above document): https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...
-
MDX is great for this, you can intermix JS/TS, JSX, and Markdown
https://mdxjs.com/
You can write your components normally and pass them in to be available in MDX
-
scroll
Scroll is a language for scientists of all ages. Scroll includes a command line app that builds static blogs, websites, CSVs, text files, and more.
I should make this easier to use any day now. High on my priority list.
Here's the issue:
https://github.com/breck7/scroll/issues/133