name* = TextInput(
| question = What is your name?
| description =
Let's get started with the survey. First, please tell
us your full legal name according to your passport.
)
Could be just this:
name* = TextInput
# What is your name?
Let's get started with the survey. First, please tell
us your full legal name according to your passport.
Well, you can define the syntax however you like in a new DSL, right?
I like the syntax notpushkin proposed and would extend it a bit like this:
fruits* = MultiChoiceInput
# Pick two out of three fruits
Fruits are healthy, so let's pick two fruits
you will eat every morning for the coming week
- [ ] Apple
- [ ] Orange
- [ ] Banana
This:
Could be just this: