Forms

The Forms menu consists of

Forms and Fields

Fields can be defined in order to be used for different source-specific forms that are used for the Registration, Submission and Browse page.

For each source a form can be defined, where different additional data groups can be collected. The data groups consists of fields that can be defined by the system administrator.

images/download/attachments/49199017/forms.png

Forms

Forms can be configured in order to be used on the Registration, Submission and Browse pages.

Fields

The list of fields can be broadened, new fields can be defined.

images/download/attachments/49199017/field1.png

images/download/attachments/49199017/field2.png

Field label

The system administrator can set a name for the field that will be created.

Field indentifier

A unique identifier must be given, but it won't be displayed anywere.

Input type

The following field types are available:

  • Single-line text

  • Text area

  • Select

  • Password

  • Date

  • Checkbox

  • Collection

If the default value for the date selector

    • is an empty string, the input box will remain empty

    • is an invalid date string, the input box will default to today's date

    • is a valid string date, the input box will convert the date to the desired format and display it

Placeholder

A short hint that describes the expected value of the input field.

Default value

A default value can be set for the field.

Possible field values fetched from URL

In case of "Select" type inputs a relative or absolute path can be specified here.

Possible field values

In case of "Select" type inputs a list of values can be added here.

Validation rules

The following validation rules are available:

  • required

  • int

  • uint

  • int32

  • uint32

  • float

  • notzero

  • positive

  • validjson

  • unique

Available on the following levels

images/download/attachments/49199017/field3.png

Generator

As field generators ChemAxon's "chemicalterms" can be used. More info can be found here.

As an example, if you want to generated IUPAC name, you have to set chemicalterms for the Generator.

Generator Parameters

If you want to generated IUPAC name, you can set name("i")

images/download/attachments/49199017/image2017-9-13_14-23-7.png

When using a generated field (e.g. IUPAC name), you always have to make sure that the field is stored on the correct level (parent, version or preparation). If you store the IUPAC name for version level, then the field will be always regenerated when a new version is created.

Dictionary Manager

Multiple dictionaries can be added and populated to the Registry database, which can be used later during registration or amendment. Dictionaries and also their items can be searched, edited and deleted. To add an item, just click on the [Add item] button and in the opened window just set a name (optionally an item ID can be set as well), then click on [Apply] button.

The item will be automatically added to the list below. If no item Id was given, the system automatically generates one. When you hover over a given item in the list, you will be able to edit it (when clicking on the pencil) or to delete it (when clicking in the trash sign).

By default, the Compound Registration includes five dictionaries: Chem. Sig. Text (empty), Double bond panel, Geometric Isomerism, Stereocenter panel and Stereochemistry, which contain items.

The items from the Chem. Sig. Text dictionary can be used as CSTs, which can be retrieved from a drop-down list during registration or amendment. The items in the popup list are present in alphabetical order and they are instantaneously searched when typing.

The items of the Stereochemistry and Geometric isomerism dictionaries currently are present in drop-down lists only on the Registration page of the application. On the Submission page , depending on the "Calculate Stereo Comments" switcher setting, the comment can be either set manually to an arbitrary text, or can be calculated using the items of the existing Stereochemistry and Geometric isomerism dictionaries.

The content of the Stereocenter and Double Bond Panels are used on the Submission page for the Stereo Fixer panel.

images/download/attachments/49199017/Admin5.png

Dictionary Manager: the default Stereochemistry dictionary