Dynamic Forms¶
Dynamic Forms can used to add additional fields to
- Paper Submission
- Paper Submission
- User Invitation
- Review Forms
- Review Judgements
- Upload of Additional Material
Add or edit Dynamic Forms¶
- go to Admin→Dynamic Forms
- Select at Filter, which Forms you want to add or edit
- Click on the field to edit or click on 'Add Dynamic Field'
- Complete the form
Dynamic Field Form¶
| Description | |
|---|---|
| Form | To which form the field should be added |
| Field name | unique name of the dynamic field (no spaces and special characters, except underscore) |
| Field type | type of the input field (see below) |
| Active | inactive fields are not displayed |
| Description | comments, just for info |
| Rank | unique per form, determines the order of dynamic fields on the form |
| Required | the field has to be completed |
| Label | Label of the input field, displayed on the form |
| Help text | text, shown below the input field |
| Parameters | Field type specific parameters in JSON format (see below) |
| initial | initial value, displayed if no value present |
| Visible to roles | show the field value for the following roles, role_ids separated by commas without space |
| Editable by Roles | show the input field to the following roles, role_ids separated by commas without space |
| Paper Type | restrict this field to these paper types, Leave it empty, if this field should be displayed for all paper types, Separate paper_type_ids by comma, no spaces., Paper Type are available for review form, review judgement form and upload of addtional material only |
| Track | restrict this field to these tracks, leave it empty, if this field should be displayed for all tracks. Separate track_ids by comma, no spaces, Track restrictions are available for review form, review judgement form and upload of addtional material only |
Hints:¶
- Fields at login Form have to be editable by user.
- Fields at signup Form have to be editable by guest.
Field Types¶
Single Line Text¶
One line text input field
* max_length: Max number of characters
{"max_length": "200"}
Text with Summernote Text Editor¶
WYSIWYG Text Editor
Text Area¶
Multi-line Text Area
* max_length: Max number of characters
{"max_length": "200"}
Star¶
Star rating to select an integer value
Parameters¶
max: maximum number of starsshow_caption: display caption next to the stars
{"max": "10", "show_caption": "True"}
Radio Button, Checkbox, Dropdown and Dropdown Multiple¶
Allow the selection of multiple entries (Checkbox, Dropdown Multiple) or a single value from a set of choices.
Parameters¶
choices: Array of options. Each option has a value for saving and a text to display.
{"choices": "[['v1', 'Dog'], ['v2', 'Cat']]"}
Initial¶
['v1']
Upload File¶
Allows file uploads
Parameters¶
content_types: List of allowed Content Types as MIMIE Types Important: Firefox sends the wrong MIME Type for PDF-
filename_pattern: To generate the file name, the following variables can be used:{tenant}: Internal name of the conference{object_id}: ID of the paper (Important: The ID is not available at submission, only for later changes of the uploaded file or for additional uploads!){random_string}: rand 32 character string{file_extension}: Extension of the uploaded file (there is no check for correctness of the file extension)- Hint: Upload Files do not work in Formset, e.g. 'User Invitation'
{"content_types": "['application/pdf', 'image/jpg', 'application/download','image/jpeg']", "filename_pattern": "{tenant}_bild_{random_string}.{file_extension}"}
Display Text¶
Displays Label on the left hand side and Initial on the right hand side. Initial may contain HTML tags. This is a pseudo field without input functionality.