Apr 8, 2025 9:43:03 AM Philippe Bareille avatar

wiki : Technical documentation > Create forms (Forms plugin) > Back office of the Forms application > Types of Entry (Forms)

Types of Entry (Forms)


Entry Type

Description

Available Parameters

Grouping

Used to group questions.

By default, only the "Title" (mandatory) and "Description" fields are displayed when creating a grouping.

When creating a grouping, it is possible to make it "repeatable," meaning it allows multiple different responses to the questions within this grouping.

For example, in a business census form, the respondent might need to declare several different premises at different addresses: a "Address" grouping could then be created. Similarly, in a form asking for the respondent's family situation, they might need to declare one or more children: a "Dependent Children" grouping could then be created.

  • Title
  • Manage iteration

Short Text Area

Open question type for entering short text where the maximum length can be defined

  • Title
  • Custom code
  • Help
  • Comment
  • Placeholder
  • Default value
  • Mandatory
  • Error message
  • Max length
  • Input confirmation
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable
  • Image

Long Text Area

Open question type for entering long text where the maximum length can be defined

  • Title
  • Custom code
  • Help
  • Comment
  • Placeholder
  • Default value
  • Mandatory
  • Input area height
  • Max length
  • BO restricted visibility
  • Rich text editor
  • CSS class
  • Index
  • Anonymizable

Date

Question type for entering a date, either directly or selected from a calendar

  • Title
  • Custom code
  • Help
  • Comment
  • Placeholder
  • Default value
  • Mandatory
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable

Number

Field for entering a number, with the ability to define a default number, and max and min values

  • Title
  • Custom code
  • Suffix
  • Help
  • Comment
  • Placeholder
  • Default value
  • Mandatory
  • Error message
  • Min and max values
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable

Radio Button

Closed question type with configurable multiple choices, single response

  • Title
  • Custom code
  • Help
  • Comment
  • Reference list
  • Presentation model
  • Mandatory
  • BO restricted visibility
  • CSS class
  • Manage responses

Checkbox

Closed question type with configurable multiple choices, multiple responses possible

  • Title
  • Custom code
  • Help
  • Comment
  • Reference list
  • Presentation model
  • Mandatory
  • Error message
  • BO restricted visibility
  • CSS class
  • Manage responses

Dropdown List

Question type where the response is selectable from a configurable list, single response

  • Title
  • Custom code
  • Help
  • Comment
  • Reference list
  • Mandatory
  • BO restricted visibility
  • CSS class
  • Index
  • Manage responses

Numbering

Numbers the form and creates a hidden field automatically filled with a unique incremental number, with the option to set a prefix.

  • Title
  • Custom code
  • Prefix
  • CSS class
  • Index

File

Question type allowing the upload of one or more files (configurable for the number of files and total weight)

  • Title
  • Custom code
  • Help
  • Comment
  • Mandatory
  • Max size
  • Max number
  • Export binaries
  • BO restricted visibility
  • CSS class
  • Anonymizable

Image

Question type allowing the upload of one or more images (configurable for the number of files and total weight)

  • Title
  • Custom code
  • Help
  • Comment
  • Mandatory
  • Max size
  • Max number
  • Export binaries
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable

Comment

Field for displaying a comment in the form

  • Title
  • Custom code
  • Comment
  • Attached file
  • CSS class
  • Display in BO
  • Index

Terms of Use

Field for displaying a link to the terms of use and a checkbox for the user to accept them

  • Title
  • Custom code
  • Hyperlink
  • Terms of use
  • Mandatory (by default)
  • CSS class
  • Index

MyLutece User Attribute

Field for automatically retrieving the identification attributes of the MyLutece user responding to the form when authenticated

  • Title
  • Custom code
  • Help
  • Attribute choice
  • Mandatory
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable

Camera

Field for taking a photo and inserting it into the form

  • Title
  • Custom code
  • Help
  • Comment
  • Mandatory
  • Error message
  • CSS class
  • Anonymizable
  • Screen length and width
  • Max capture size
  • Image type

Geolocation

Field for entering an address (with auto-completion from an address database)

  • Title
  • Custom code
  • Help
  • Comment
  • Map
  • Editing mode
  • View number
  • Mandatory
  • Exact address
  • CSS class
  • Index
  • Anonymizable

Phone Number

Field for entering a phone number

  • Title
  • Custom code
  • Help
  • Comment
  • Placeholder
  • Auto-completion
  • Default region
  • Mandatory
  • Error message
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable

Table

New
Field for inserting a table with configurable number of rows and columns

  • Title
  • Custom code
  • Number of rows
  • Number of columns
  • Table name
  • Anonymizable

Sortable List

New
Field allowing the sorting of a proposed list in the Front Office

  • Title
  • Custom code
  • Help
  • Comment
  • Reference list
  • Mandatory
  • BO restricted visibility
  • CSS class
  • Index
  • Manage responses

Image Gallery

New
Field for selecting an image from a proposed image gallery

  • Title
  • Custom code
  • Help
  • Comment
  • Mandatory
  • Export binaries
  • BO restricted visibility
  • CSS class
  • Index
  • Anonymizable