Form:Module questionnaire: Difference between revisions

From CSDMS
Line 2: Line 2:


STILL WORKING ON THIS (ALBERT)<BR>
STILL WORKING ON THIS (ALBERT)<BR>
<table width=550>
{{#form:method=POST|
<tr><td>{{#input:type=hidden|name=formmailer}}</td><td>{{#input:type=hidden|name=title|value=:Organization}}</td></tr>
<tr><td>First Name:</td><td>{{#input:type=text|name=First name }}</td></tr>
<tr><td>Last Name:</td><td>{{#input:type=text|name=Last name}}</td></tr>
<tr><td>Institute / Organization:</td><td> {{#input:type=text|name=Institute}}</td></tr>
<tr><td>Department:</td><td>{{#input:type=text|name=Department}}</td></tr>
<tr><td>Postal address 1:</td><td>{{#input:type=text|name=Postal address 1}}</td></tr>
<tr><td>Postal address 2:</td><td>{{#input:type=text|name=Postal address 2}}</td></tr>
<tr><td>Town/City:</td><td>    {{#input:type=text|name=Town/City}}</td></tr>
<tr><td>Postal code:</td><td>{{#input:type=text|name=Postal code}}</td></tr>
<tr><td>State:</td><td>{{#input:type=text|name=State}}</td></tr>
<tr><td>Country:</td><td>{{#input:type=text|name=Country}}</td></tr>
<tr><td>Email address:</td><td>{{#input:type=text|name=Email address}}</td></tr>
<tr><td>Phone:</td><td>    {{#input:type=text|name=Phone}}</td></tr>
<tr><td>Fax:</td><td>      {{#input:type=text|name=Fax}}</td></tr>
<tr><td>Choose workgroup:<br><i>More than one option possible</i></td><td>{{#input:type=checkbox|name=terrestrial}} Terrestrial</td></tr>
<tr><td></td><td>{{#input:type=checkbox|name=Coastal}} Coastal</td></tr>
<tr><td></td><td>{{#input:type=checkbox|name=Marine}} Marine</td></tr>
<tr><td></td><td>{{#input:type=checkbox|name=EKT}} Coastal</td></tr>
<tr><td></td><td>{{#input:type=checkbox|name=Cyberinformatics}} Cyberinformatics</td></tr>
<tr><td>Description of your CSDMS-related interests:<br><i>(max 300 characters)</i></td><td>{{#input:type=textarea|cols=40|rows=4|name=interest}}</td></tr>
<tr><td></td><td>
        {{#input:type=submit|value=Submit}}
</td></tr>
}}
</table>


{{#form:  name= demo      |action=/index.php|
{{#form:  name= demo      |action=/index.php|

Revision as of 16:39, 7 March 2008

Model Questionnaire

STILL WORKING ON THIS (ALBERT)

{{#form:method=POST| }}
{{#input:type=hidden|name=formmailer}}{{#input:type=hidden|name=title|value=:Organization}}
First Name:{{#input:type=text|name=First name }}
Last Name:{{#input:type=text|name=Last name}}
Institute / Organization: {{#input:type=text|name=Institute}}
Department:{{#input:type=text|name=Department}}
Postal address 1:{{#input:type=text|name=Postal address 1}}
Postal address 2:{{#input:type=text|name=Postal address 2}}
Town/City: {{#input:type=text|name=Town/City}}
Postal code:{{#input:type=text|name=Postal code}}
State:{{#input:type=text|name=State}}
Country:{{#input:type=text|name=Country}}
Email address:{{#input:type=text|name=Email address}}
Phone: {{#input:type=text|name=Phone}}
Fax: {{#input:type=text|name=Fax}}
Choose workgroup:
More than one option possible
{{#input:type=checkbox|name=terrestrial}} Terrestrial
{{#input:type=checkbox|name=Coastal}} Coastal
{{#input:type=checkbox|name=Marine}} Marine
{{#input:type=checkbox|name=EKT}} Coastal
{{#input:type=checkbox|name=Cyberinformatics}} Cyberinformatics
Description of your CSDMS-related interests:
(max 300 characters)
{{#input:type=textarea|cols=40|rows=4|name=interest}}
       {{#input:type=submit|value=Submit}}



{{#form: name= demo |action=/index.php| {{#input: name= title |type= hidden | value = Special:Call/Catlist }}

namespace   {{#input: name= namespace |type= select | value = |
  • January
  • February
  • March
  • April
  • May
  • Image
  • User
  • DPL
  • Wgraph
}}
but not   {{#input: name= notnamespace |type= select | value = |
  • -
  • main
  • Talk
  • Template
  • Category
  • Image
  • User
  • DPL
  • Wgraph

}}

category   {{#input: name= category | value = |type= select
                                    | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }}
but not   {{#input: name= notcategory | value = |type= select
                                       | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }}
and category   {{#input: name= category2 | value = |type= select
                                     | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }}
and not   {{#input: name= notcategory2 | value = |type= select
                                        | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }}
uses   {{#input: name= uses | value = |type= select
                                | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }}
but not   {{#input: name= notuses | value = |type= select
                                   | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }}
links to   {{#input: name= linksto | value = }} but not to   {{#input: name= notlinksto | value = }}
created by   {{#input: name= createdby | value = |type= select
                                     | *? {{#dpl: namespace=User |titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }}
  modified by   {{#input: name= modifiedby | value = |type= select
                                      | *? {{#dpl: namespace=User | titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }}
last rev. before   {{#input: name= lastrevisionbefore | value = YYYY-MM-DD }} first rev. since   {{#input: name= firstrevisionsince | value = YYYY-MM-DD }}
all revs. before   {{#input: name= allrevisionsbefore | value = YYYY-MM-DD }} all revs. since   {{#input: name= allrevisionssince | value = YYYY-MM-DD }}

show: namespace {{#input: name= shownamespace

 |type= select | value =  | 
  • yes
  • no

}}categories {{#input: name= addcategories

 |type= select | value =  | 
  • no
  • yes

}}visits {{#input: name= addpagecounter

 |type= select | value =  | 
  • no
  • yes

}}size {{#input: name= addpagesize

 |type= select | value =  | 
  • no
  • yes

}}user {{#input: name= adduser

 |type= select | value =  | 
  • no
  • yes

}}editdate {{#input: name= addeditdate

 |type= select | value =  | 
  • no
  • yes

}}touch date: {{#input: name= addpagetoucheddate

 |type= select | value =  | 
  • no
  • yes

}} ordermethod: {{#input: name= ordermethod |type= select | value = |

  • -
  • category,firstedit
  • category,lastedit
  • category,pagetouched
  • category,sortkey
  • categoryadd
  • counter
  • firstedit
  • lastedit
  • pagetouched
  • size
  • title
  • titlewithoutnamespace
  • user,firstedit
  • user,lastedit

}}order: {{#input: name= order

 |type= select | value =  | 
  • ascending
  • descending

}}escapelinks: {{#input: name= escapelinks

 |type= select | value =  | 
  • true
  • false

}}randomcount: {{#input: name= randomcount

 |type= select | value =  | 
  • -
  • 1
  • 3
  • 5
  • 10

}}export: {{#input: name= export

 |type= select | value =  | 
  • no
  • yes

}}

title(%) {{#input: name= titlematch | value = }} columns {{#input: name= columns |type= select | value = |
  • 3
  • 1
  • 2
  • 3
  • 4
  • 5

}}maxrecords {{#input: name= count | value = | size = 2 }}offset {{#input: name= offset | value = | size = 2 }}     {{#input: type = submit | value = List members }}   reset   graph

}}