Help:Simple Forms

From Semantic Portal Wiki

Jump to: navigation, search

Example 1

  • create event with selectable predefined values
  • technique: using simple form to run one-step semantic form
  • requires: SimpleForms Extension, SemanticForms Extension

{{#form:method=get|action=./Special:AddData/ThingInfo|

  {{#input: type = hidden | name =ThingInfo[relation]  | value = Simple Forms }}
  {{#input: type = select | name =ThingInfo[type]  | 
  • Archery
  • Athletics
  • Baseball
  • Badminton
  • Basketball
  • Beach Volleyball
  • Boxing
  • Cycling - BMX
  • Canoe/Kayak - Flatwater
  • Cycling - Mountain Bike
  • Cycling - Road
  • Canoe/Kayak - Slalom
  • Cycling - Track
  • Diving
  • Equestrian
  • Football
  • Fencing
  • Gymnastics Artistic
  • Gymnastics Rhythmic
  • Trampoline
  • Handball
  • Hockey
  • Judo
  • Modern Pentathlon
  • Rowing
  • Sailing
  • Shooting
  • Softball
  • Swimming
  • Synchronized Swimming
  • Tennis
  • Taekwondo
  • Triathlon
  • Table Tennis
  • Volleyball
  • Weightlifting
  • Water Polo
  • Wrestling
}}  
{{#input: type =submit  | value= Add an event }}

}}

Personal tools
Semantic Web Community
Tetherless World constellation
maintenance