-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
49 lines (42 loc) · 1.55 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#Markdown
##Form Metadata
---
* form_title=My Form Title
* form_header=Fill out this great form, it is super great
* form_footer=Thanks
##Line Format: Asterisk after LABEL indicates that a field is required
---
LABEL = ELEMENT DECLARATION
##Select List: Curly braces indicate select, VALUE => DISPLAY VALUE, if no DISPLAY VALUE is provided VALUE is used, parenthesis indicate default selected element
---
City* = {St. Louis, Chicago, San Francisco, (New York City)}
##Radio Button: parenthesis - text indicate radio buttons, (x) specifies an element as checked
---
sex* = (x) male () female () all'em () don't know
##Checkbox: square brackets indicate checkbox, [x] specifies an element as checked
---
phones = [] Android [x] iPhone [x] Blackberry
##Text Input: the underscore indicates a text input, text following an underscore is used as default text, integer in square brackets indicates maxlength
---
* name = _[50]
* Form Name = _Enter your form name
* name* = _Default text[50]
##Textarea: Quotes indicate textarea, text within quotes is used as default text
---
* Comments = ""
* comments = "Enter your comments here"
##Example Markup
---
form_title=This is my form
form_header=Fill out this form and magic will happen
form_footer=Thanks for filling out our form
First Name*=__[50]
Last Name*=__[50]
Phone=__(444) 555 - 5555
Address=__
City=__
State=__[2]
Are you interested?*= (x) yes () no () not sure
How many do you want?*= [x] 10 [] 5 [] 2 [] 0
When do you want it?={(Now), Tomorrow, Never}
Comments=”Enter any comments you have for us”