File: FORMS

package info (click to toggle)
didiwiki 3.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,912 kB
  • sloc: ansic: 5,985; sh: 1,532; makefile: 27
file content (44 lines) | stat: -rwxr-xr-x 967 bytes parent folder | download
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
There is a possibility to create a simple form with one entry, 
usefull to make a todo list for example.

There are 4 tags:
{{entry}}
{{data}}
{{delete}}
{{save}}

{{entry}} create a simple entry field and a button "add".

{{data}} mark the place where the entries are written (just after
 the tag). This tag must be terminated with a new line.
Note: A checkbox is automatically added with each entry.
 
{{save}} saves the status of the checkbox (checked).
{{delete}} removes the entries checked.


Extra parameters for entry:

tiny small medium large huge define the lenght of the entry.
date inserts a date in the entry.
data asks to write the entries after the tag {entry...} , {{data}} is not 
required in this case. Example: {{entry large date data}}

save and delete can be combined: {{save delete}}.

Other examples of Todo list:
Simple:

{{entry large data}}
{{save delete}}

With labels:

{{entry}}
List of things to do:

{{data}}

Actions:
{{delete save}}