Difference between revisions of "Form:Event OLD"

From OPENRESEARCH mk copy Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
{{{for template|Event}}}
 
{{{for template|Event}}}
 
{| class="formtable"
 
{| class="formtable"
! {{#show: Property:Event id|?Property name}}{{#ifeq:{{#show: Property:in event series|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:in event series|?Property documentation}}}}
+
! {{#show: Property:Event id|?Property name}}{{#ifeq:{{#show: Property:Event id|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Event id|?Property documentation}}}}
 
| {{{field
 
| {{{field
 
           |{{#show: Property:Event id|?Property label}}
 
           |{{#show: Property:Event id|?Property label}}
Line 23: Line 23:
 
   }}}
 
   }}}
 
|-
 
|-
! {{#show: Property:Acronym|?Property name}}{{#ifeq:{{#show: Property:Event id|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Event id|?Property documentation}}}}
+
! {{#show: Property:Acronym|?Property name}}{{#ifeq:{{#show: Property:Acronym|?Property mandatory}}|true|<span style="color:#f00">*</span>}}: {{#info:{{#show: Property:Acronym|?Property documentation}}}}
 
| {{{field
 
| {{{field
           |input type={{#show: Property:Event acronym|?Property inputType}}
+
          |{{#show: Property:Acronym|?Property label}}
           |placeholder=Event ID
+
           |input type={{#show: Property:Acronym|?Property inputType}}
           |{{#ifeq: {{#show: Property:Event acronym|?Property allowedValues }} |||values={{#show: Property:Event acronym|?Property allowedValues }} }}
+
           |{{#if:{{#show: Property:Acronym|?Property placeholder}}|placeholder={{#show: Property:Acronym|?Property placeholder}} }}
           |{{#ifeq: {{#show: Property:Event acronym|?Property values from }} ||| values from {{#show: Property:Event acronym|?Property values from }} }}
+
           |{{#if:{{#show: Property:Acronym|?Property allowedValues }} |values={{#show: Property:Acronym|?Property allowedValues }} }}
           |{{#ifeq:{{#show: Property:Event acronym|?Property mandatory}}|true|mandatory}}
+
           |{{#if:{{#show: Property:Acronym|?Property values from }} |values from {{#show: Property:Acronym|?Property values from }} }}
           |{{#ifeq:{{#show: Property:Event acronym|?Property primary key }}|true|unique}}
+
           |{{#ifeq:{{#show: Property:Acronym|?Property mandatory}}|true|mandatory}}
 +
           |{{#ifeq:{{#show: Property:Acronym|?Property primary key }}|true|unique}}
 
   }}}
 
   }}}
 
|-
 
|-

Revision as of 07:51, 19 February 2021