Skip to main content

Design and publish an e-Form

You need documents:forms. Open e-Forms → Form builder to manage definitions. Administration access alone does not grant form-design access.

Form definitions with their publication statesForm definitions with their publication states
Definitions list the form state, fields, filing destination, workflow and submission count. Select image to enlarge.
The form designer with field palette and settingsThe form designer with field palette and settings
Design fields, filing and workflow together before publishing. Select image to enlarge.

Configure a definition​

  1. Choose New form or open an existing definition.
  2. Enter a recognisable form name and description. A new form can start from an offered starter.
  3. Choose the filing destination and the audience/group settings offered by the form.
  4. Select a linked workflow, or None — file as complete when no review route is needed.
  5. Add fields from the palette, arrange their order and set each field's properties.

Available fields​

FieldTypical use
Text / Long textNames, identifiers, descriptions and remarks
NumberAmounts, quantities or another numeric value
DateDates entered as dates rather than ambiguous free text
DropdownA controlled list of choices
CheckboxA confirmation or declaration
File uploadSupporting attachments
e-SignatureA signature field assigned to the appropriate person/stage
Line itemsRepeating rows with typed columns; numeric columns can supply totals
SectionA heading to organise the form

Use clear labels, help text and required flags. Suitable fields can share a row at half width. Use indexed fields deliberately when values need to be found in search.

Assign answers to the right stage​

A field can be filled by the submitter or a reviewer. For reviewer fields, select the step where they must be completed. For workflow conditions, map the expected workflow field keys to the form's answers or numeric-column totals. Keep those mappings aligned with the workflow.

References, PDF names and Template designs​

Set a Reference prefix, such as TR, to produce references like TR-000001. PDF name supports {reference}, {form}, {submitter} and {date}. Choose File submissions in deliberately: the submission PDF and attachments are stored there.

Leave PDF template code empty for the built-in form PDF, or enter the code of a saved document design from the Template module. Activate the intended design and ensure the configured Template service can render it.

Submission values are supplied under their field IDs, with additional context:

ReferenceContent
traveller_nameThe value of a form field whose ID is traveller_name
expensesRows of a line-items field with that ID
submission.reference, submission.formSubmission reference and form title
submission.submittedBy, submission.submittedOnSubmitter and formatted submission time
totals.expenses.amountTotal of the amount number column in expenses
approvalsHistory rows containing step, action, by, at and comment

Use matching root fields in the template's Input JSON. For example, a body can use {{traveller_name}}, {{submission.reference}} and {{totals.expenses.amount | currency "₹"}}. Repeat a table over expenses for the individual rows. These references differ from an unrelated design that deliberately nests its input inside data.

An outside person's first submission uses the built-in layout; a later approval/fill-in renders it with the configured template. A configured template render failure fails the submission/action rather than silently switching layouts. Test the full submit-review-PDF cycle after linking the design.

Save, validate and publish​

Save draft keeps a design that is not ready for respondents. Preview lets you inspect the form as a reader. Validate reports design issues. Correct those issues, verify the filing destination and workflow mappings, then choose Publish.

Publication creates the version available for future submissions. Existing submissions keep their original form snapshot. Draft edits do not silently update those earlier requests. Archive an obsolete form when it should no longer be offered for new submissions.