Difference between revisions of "Form:Event OLD"

From OPENRESEARCH mk copy Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
{| class="formtable"
 
{| class="formtable"
 
! {{#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}}}}
 
! {{#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
 +
          |input type={{#show: Property:Event id|?Property inputType}}
 +
          |placeholder=Event ID
 +
          |{{#ifeq: {{#show: Property:Event id|?Property allowedValues }} |||values={{#show: Property:Event acronym|?Property allowedValues }} }}
 +
          |{{#ifeq: {{#show: Property:Event id|?Property values from }} ||| values from {{#show: Property:Event acronym|?Property values from }} }}
 +
          |{{#ifeq:{{#show: Property:Event id|?Property mandatory}}|true|mandatory}}
 +
          |{{#ifeq:{{#show: Property:Event id|?Property primary key }}|true|unique}}
 +
  }}}
 +
|-
 +
! {{#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}}}}
 
| {{{field
 
| {{{field
 
           |input type={{#show: Property:Event acronym|?Property inputType}}
 
           |input type={{#show: Property:Event acronym|?Property inputType}}
Line 21: Line 31:
 
           |{{#ifeq:{{#show: Property:Event acronym|?Property primary key }}|true|unique}}
 
           |{{#ifeq:{{#show: Property:Event acronym|?Property primary key }}|true|unique}}
 
   }}}
 
   }}}
|-
 
! Field:
 
<!-- Special:Types/text Field -->
 
| {{{field
 
    |Field
 
    |property=Event series Field
 
    |size= 80
 
}}}
 
 
|-
 
|-
 
! acronym:  
 
! acronym:  

Revision as of 07:42, 19 February 2021