Difference between revisions of "Test Simple Forms"

From FollowTheScore
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This examples uses only one pair of curly braces around the #dpl call to check whether the #request arguments are correctly passed to DPL.
 +
 +
It uses SimpleForms 0.45
 +
 +
Another problem with Simple Forms is demonstrated at [[Test Simple Forms 2]]
 +
 
{{#form:
 
{{#form:
         {{#input: type = hidden | name = content | value = <nowiki>{{#dpl:category={{#request:cat}}}}</nowiki> }}
+
         {{#input: type = hidden | name = content | value = <nowiki>{#dpl:category={{#request:cat}} }</nowiki> }}
 
         {{#input: type  = select
 
         {{#input: type  = select
                 | name = cat
+
                 | name = cat
 
                 | value = {{#request:cat}}
 
                 | value = {{#request:cat}}
 
                 | *Select category {{#dpl: namespace = Category | format = ,\n*%TITLE%,, }}
 
                 | *Select category {{#dpl: namespace = Category | format = ,\n*%TITLE%,, }}
Line 9: Line 15:
 
}}
 
}}
  
<div id="result">NO RESULTS TO DISPLAY YET</div>
+
<div id="result">NO RESULTS TO DISPLAY YET"</div>

Latest revision as of 09:37, 27 October 2007

This examples uses only one pair of curly braces around the #dpl call to check whether the #request arguments are correctly passed to DPL.

It uses SimpleForms 0.45

Another problem with Simple Forms is demonstrated at Test Simple Forms 2

{{#form:

       {{#input: type = hidden | name = content | value = {#dpl:category={{#request:cat}} } }}
       {{#input: type  = select
               | name = cat
               | value = {{#request:cat}}
               | *Select category 
  • AT&
  • AT&T
  • African Union member states
  • Another Topic
  • Antwerpen
  • Apachetest
  • Belgium
  • Bruxelles
  • Café
  • Café d'Anvers
  • Calendar Templates
  • Car
  • Cat 1
  • Cat 11
  • Cat 12
  • Cat 2
  • Cat d'Test
  • Category
  • Cities
  • Class
  • Countries
  • Country
  • CountryA
  • CountryB
  • DPL
  • DPL Example
  • DPL Example 007 main cat
  • DPL Example 007 sub cat 1
  • DPL Example 007 sub cat 2
  • DPL Manual
  • DPL bugs
  • DocType
  • DocTypeForm
  • DocTypeScript
  • Dpl group's event
  • Dynasty
  • Events
  • Execute
  • Expressionism
  • Fictitious country
  • Frankfurt
  • Freshman
  • Game
  • Germany
  • Hamburg
  • Impressionism
  • Issue
  • List templates
  • Location
  • MainCat
  • Manual
  • Michael's evens
  • Michael's events
  • Munich
  • Musical Instrument
  • North Africa
  • Painter
  • Person
  • Place
  • Plan
  • Schnittstellen
  • Smdemo
  • Some Topic
  • Stachoo test
  • Step
  • Student
  • SubCat 1
  • SubCat 10
  • SubCat 11
  • SubCat 12
  • SubCat 13
  • SubCat 14
  • SubCat 2
  • SubCat 3
  • SubCat 4
  • SubCat 5
  • SubCat 6
  • SubCat 7
  • SubCat 8
  • SubCat 9
  • Subcats
  • Subcats 1
  • Subcats 2a
  • Subcats 2b
  • Subcats 2c
  • Subcats 3a1
  • Subcats 3a2
  • Subcats 3b1
  • Subcats 3b2
  • Subject
  • Sudan
  • TableBug
  • Test
  • Test'd funk
  • Test-1
  • Test3000
  • Test3001
  • Test3002
  • Test 1
  • Test Images
  • Test categories
  • TopVolkoV
  • Topic groups
  • Town
  • Trip
  • Type
  • Vehicle
  • VolkoV
  • Wgraph
  • Wgraph Manual
  • Whatlinksheretest
       }}
       {{#input: type = ajax | value = List members | update=result}}

}}

NO RESULTS TO DISPLAY YET"