Skip to content

Commit 98b3403

Browse files
authored
Update survey.md
1 parent 74e0dd4 commit 98b3403

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

survey.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The survery system with CSV import.
66
### Definition
77
Write a element in one line. Parameters are split by ",". Param0 is a tag and it use following parameters.
88
```
9-
<Tag>,<Param1>,<Param2>,...,<ParamN>
9+
<Tag>,<Id>,<Param1>,<Param2>,...,<ParamN>
1010
```
1111

1212
### Introduction of Tags
@@ -15,69 +15,69 @@ Write a element in one line. Parameters are split by ",". Param0 is a tag and it
1515
A "section" tag shows large title.
1616
> Definition
1717
```
18-
section,<Title:Text>
18+
section,<Id>,<Title:Text>
1919
```
2020
> Example
2121
```
22-
section,Please answer following questions.
22+
section,section1,Please answer following questions.
2323
```
2424

2525
#### text
2626
A "text" tag shows a one-line text field.
2727
> Definition
2828
```
29-
text,<Question:Text>,<isRequired:Number>
29+
text,<Id>,<Question:Text>,<isRequired:Number>
3030
```
3131
> Example
3232
```
33-
text,What's your name?,1
33+
text,name,What's your name?,1
3434
```
3535

3636
#### longtext
3737
A "longtext" tag shows a textarea.
3838
> Definition
3939
```
40-
longtext,<Question:Text>,<isRequired:Number>
40+
longtext,<Id>,<Question:Text>,<isRequired:Number>
4141
```
4242
> Example
4343
```
44-
longtext,Write down your idea of future.,1
44+
longtext,idea,Write down your idea of future.,1
4545
```
4646

4747
#### check
4848
A "check" tag shows selection using checkboxes. It mainly used for multiple selection questions. You can show text field for "other", adding id= element at the end of the line.
4949
> Definition
5050
```
51-
check,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<choiceN>
52-
check,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<other>
51+
check,<Id>,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<choiceN>
52+
check,<Id>,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<other>
5353
```
5454
> Example
5555
```
56-
check,Which are your favarite foods?,0,Takoyaki,Humburgers,Cakes,Noodles
56+
check,foods1,Which are your favarite foods?,0,Takoyaki,Humburgers,Cakes,Noodles
5757
```
5858
> Example
5959
```
60-
check,Which are your favarite foods?,0,Takoyaki,Humburgers,Cakes,Noodles,id=otherFood
60+
check,foods2,Which are your favarite foods?,0,Takoyaki,Humburgers,Cakes,Noodles,id=otherFood
6161
```
6262

6363
#### radio
6464
A "radio" tag shows selection using radio button. It mainly used for single selection questions. You can show text field for "other", adding id= element at the end of the line.
6565
> Definition
6666
```
67-
radio,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<choiceN>
68-
radio,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<other>
67+
radio,<Id>,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<choiceN>
68+
radio,<Id>,<Question:Text>,<isRequired:Number>,<choice0>,<choice1>,...,<other>
6969
```
7070
> Example
7171
```
72-
radio,Select your gender.,1,male,female
72+
radio,selectGender1,Select your gender.,1,male,female
7373
```
7474
> Example
7575
```
76-
radio,Select your gender.,1,male,female,id=otherGender
76+
radio,selectGender2,Select your gender.,1,male,female,id=otherGender
7777
```
7878
> Example
7979
```
80-
radio,Select your grade.,1,2,3,4,5,6,7
80+
radio,selectGrade,Select your grade.,1,2,3,4,5,6,7
8181
```
8282

8383
### Reserved Words

0 commit comments

Comments
 (0)