Skip to content

Commit 46067ff

Browse files
author
Juan David Pastás Rivera
committed
Other. Tabs.
1 parent 044e2af commit 46067ff

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,17 @@ Explanation:
7373
1. `name` is the name for the inputs
7474
1. `question text` is the question text
7575
1. `type` can be `text`, `checkbox`, `radio`, `textarea`. `text` is default.
76-
1. `option_1` and `option_2` are the texts to display as options
76+
1. `option 1` and `option2` are the texts to display as options
77+
1. If option starts with `other`(case insensitive), you get a text field in front of it.
78+
79+
Note: tabs are not needed, you could write:
80+
81+
```
82+
- name: What is your name?
83+
radio
84+
I don't want to tell you
85+
Other
86+
```
7787

7888
# Usage
7989

0 commit comments

Comments
 (0)