Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Example markup in HTML template file

Code Block
html
html
<div class="info-pair">
   <div class="header">
      <div class="label">Field label</div>
   </div>
   <div class="content">
      <input type="text" class="csc-{recordid}-{fieldid}" />
   </div>
</div>

Example entry in Configuration file

<field id="{fieldid}"></field>
Code Block

Multi-line text field

Example multi-line text field

Example markup in HTML template file

<div class="info-pair"> <div class="header"> <div class="label">Field label</div> </div> <div class="content"> <textarea class="input-textarea csc-{recordid}-{fieldid}" /> </div> </div>
Code Block
html
html

Example entry in Configuration file

<field id="{fieldid}"></field>
Code Block

Term List

Example select field

...

Example markup in HTML template file

Code Block
html
html
<div class="info-pair-select">
   <div class="header">
      <div class="label">Field label</div>
   </div>
   <div class="content">
      <select class="input-select csc-{recordid}-{fieldid}" />
   </div>
</div>

Example entry in Configuration file: Static term list (configured via config file)

...

Example markup in HTML template file

Code Block
html
html
<div class="info-pair-date">
   <div class="header">
      <div class="label">Field label</div>
   </div>
   <div class="content">
      <input type="text" class="fl-force-left input-date csc-{recordid}-{fieldid} csc-calendar-date" />
       <a href="#_bottom" class="csc-calendar-button fl-table-cell fl-force-left cs-calendar-button" >
       <img src="../images/cal.png" alt="calendar"  height="17" width="16" /></a>
       <div class="csc-date-picker cs-date-picker"></div>
   </div>
</div>

Example entry in Configuration file

Code Block
<field id="{fieldid}" ui-type="date"></field>

Number Pattern Chooser field

...

Example markup in HTML template file

Code Block
html
html
<div class="info-pair">
   <div class="label">Field label</div>
   <div class="content csc-{recordid}-{fieldid}-patternChooserContainer">
      <input type="text" class="input-numeric-long csc-{recordid}-{fieldid} pattern-chooser-input" />
   </div>
</div>

Example entry in Configuration file

<field id="{fieldid}" chooser="yes" seperate_ui_container="true"> <options> <option id="intake" sample="IN2009.1.1">Intake</option> <option id="accession" sample="2009.1.1">Accession</option> <option id="loanin" sample="LI2009.1.1">Loans In</option> </options> </field>
Code Block

Boolean (Checkbox) field

Example boolean/checkbox field

Example markup in HTML template file

Code Block
html
html
<div class="info-pair">
  <div class="header">
    <div class="label csc-collection-object-objectFilter-label"/></div>
  </div>
  <div class="content">
    <input class="input-select csc-collection-object-objectFilter" type="checkbox"/>
  </div>
</div>

Example entry in Configuration file

<field id="objectFilter" datatype="boolean" section="sdmom"> <default>false</default> </field>
Code Block