Different Types to Form Fields
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Different Types to Form Fields

You can add multiple fields to a form using different controls as per your requirements.

Control Type

Description

Control Type

Description

Text Field

Maximum size: 255 characters addresses.
You can add a text field or text area field to your form to add URLs. URLs will be visible as hyperlinks on the overview pages upon data entry.

Text Area

Add long text like comments, address, etc. Maximum size limit is 65,635 characters.

Number Field

Supports adding numeric values like age, number of days, etc.

Radio Button

Single select radio buttons. Ideal for less than 5-6 values. If more, use dropdowns.

Checkbox

Multi-select checkbox. Ideal for less than 5-6 values. If more, use the multi-select dropdown.

Yes/No Checkbox

The field to check /uncheck single value.

Dropdown

Select single value from the dropdown options.

Multiselect Dropdown

Select multiple values from the dropdownoptions.

Date Picker

Supports date and time.

File Upload

Supports any file type. Note: If file is greater than 5MB, it is ideal not to upload them in OpenSpecimen and instead use an external file server.

Signature

To collect eSignature.

Note

This is to add ‘information notes’ for the user in between fields or sections.

User

Displays users in the system in a dropdown.

Permissible Value

Displays the PV values from the Dropdown Manager. For more details refer to https://openspecimen.atlassian.net/wiki/x/EYB26g

Site

Displays sites in the system in a dropdown.

Storage Container

Displays container in the system in a dropdown.

Subform

To enhance the main form, you can incorporate a subform. This subform functions as a table-like structure that links to the main form. For instance, a patient may possess multiple addresses. To accommodate this, an Address subform can be integrated, featuring distinct fields such as city and street name.

 

Adding Fields

You can add multiple fields to a form using different controls as per your requirements.

  • To add new controls/fields to the form, click on ‘+ Add Field’.

    CF 4.png

  • Select the control type

    CF 6.png

  • Add the ‘Display Name’ and click on 'Save'

    CF6after.png

Note

  1. MySQL DB restricts the number of fields supported in a table, so don’t create too long forms.

  2. The number of fields supported depends on the data type of the fields. E.g., You can have 25-30 number fields in place of a single text field.

  3. If the form is a mix of control types, please restrict it to not more than 75 fields.

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com