Difference between revisions of "Form:Event OLD"

From OPENRESEARCH mk copy Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
           |Title
 
           |Title
 
           |input type=text
 
           |input type=text
          |placeholder= Enter Title
 
 
           |mandatory
 
           |mandatory
 
}}}
 
}}}
Line 27: Line 26:
 
! {{#show: Property:Homepage|?Property name}}{{#ifeq:{{#show: Property:Homepage|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Homepage|?Property documentation}}| note}}
 
! {{#show: Property:Homepage|?Property name}}{{#ifeq:{{#show: Property:Homepage|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Homepage|?Property documentation}}| note}}
 
| {{{field
 
| {{{field
           |{{#show: Property:Homepage|?Property label}}
+
           |Homepage
           |input type=
+
           |input type=text
          |{{#if:{{#show: Property:Homepage|?Property placeholder}}|placeholder={{#show: Property:Homepage|?Property placeholder}} }}
 
          |{{#if:{{#show: Property:Homepage|?Property allowedValues }} |values={{#show: Property:Homepage|?Property allowedValues }} }}
 
          |{{#if:{{#show: Property:Homepage|?Property values from }} |values from {{#show: Property:Homepage|?Property values from }} }}
 
          |{{#ifeq:{{#show: Property:Homepage|?Property mandatory}}|true|mandatory}}
 
          |{{#ifeq:{{#show: Property:Homepage|?Property primary key }}|true|unique}}
 
 
   }}}
 
   }}}
 
|-
 
|-
 
! {{#show: Property:Acronym|?Property name}}{{#ifeq:{{#show: Property:Acronym|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Acronym|?Property documentation}}| note}}
 
! {{#show: Property:Acronym|?Property name}}{{#ifeq:{{#show: Property:Acronym|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Acronym|?Property documentation}}| note}}
 
| {{{field
 
| {{{field
           |{{#show: Property:Acronym|?Property label}}
+
           |Acronym
           |input type=</nowiki>
+
           |input type=text
          |{{#if:{{#show: Property:Acronym|?Property placeholder}}|placeholder={{#show: Property:Acronym|?Property placeholder}} }}
+
          |{{#if:{{#show: Property:Acronym|?Property allowedValues }} |values={{#show: Property:Acronym|?Property allowedValues }} }}
 
          |{{#if:{{#show: Property:Acronym|?Property values from }} |values from {{#show: Property:Acronym|?Property values from }} }}
 
          |{{#ifeq:{{#show: Property:Acronym|?Property mandatory}}|true|mandatory}}
 
          |{{#ifeq:{{#show: Property:Acronym|?Property primary key }}|true|unique}}
 
 
   }}}
 
   }}}
 
|-
 
|-
 
! {{#show: Property:Ordinal|?Property name}}{{#ifeq:{{#show: Property:Ordinal|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Ordinal|?Property documentation}}| note}}
 
! {{#show: Property:Ordinal|?Property name}}{{#ifeq:{{#show: Property:Ordinal|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Ordinal|?Property documentation}}| note}}
 
| {{{field
 
| {{{field
           |{{#show: Property:Ordinal|?Property label}}
+
           |Ordinal
 
           |input type=regexp|regexp=/^\d*$/|message=Only numbers!
 
           |input type=regexp|regexp=/^\d*$/|message=Only numbers!
          |{{#if:{{#show: Property:Ordinal|?Property placeholder}}|placeholder={{#show: Property:Ordinal|?Property placeholder}} }}
 
          |{{#if:{{#show: Property:Ordinal|?Property allowedValues }} |values={{#show: Property:Ordinal|?Property allowedValues }} }}
 
          |{{#if:{{#show: Property:Ordinal|?Property values from }} |values from {{#show: Property:Ordinal|?Property values from }} }}
 
          |{{#ifeq:{{#show: Property:Ordinal|?Property mandatory}}|true|mandatory}}
 
          |{{#ifeq:{{#show: Property:Ordinal|?Property primary key }}|true|unique}}
 
 
   }}}
 
   }}}
 
|-
 
|-
 
! {{#show: Property:Event type|?Property name}}{{#ifeq:{{#show: Property:Event type|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Event type|?Property documentation}}| note}}
 
! {{#show: Property:Event type|?Property name}}{{#ifeq:{{#show: Property:Event type|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Event type|?Property documentation}}| note}}
 
| {{{field
 
| {{{field
           |{{#show: Property:Event type|?Property label}}
+
           |Event Type
           |input type=
+
           |input type=dropdown
           |{{#if:{{#show: Property:Event type|?Property placeholder}}|placeholder={{#show: Property:Event type|?Property placeholder}} }}
+
           |values from congress,conference,workshop,seminar,colloquium,tutorial,track,symposium,hackathon,meet-up,session,demonstration,other
          |{{#if:{{#show: Property:Event type|?Property allowedValues }} |values={{#show: Property:Event type|?Property allowedValues }} }}
 
          |{{#if:{{#show: Property:Event type|?Property values from }} |values from {{#show: Property:Event type|?Property values from }} }}
 
          |{{#ifeq:{{#show: Property:Event type|?Property mandatory}}|true|mandatory}}
 
          |{{#ifeq:{{#show: Property:Event type|?Property primary key }}|true|unique}}
 
 
   }}}
 
   }}}
 
|-
 
|-

Revision as of 01:16, 5 March 2021