Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The purpose of this is when a field is deleted from the formIf any form field is deleted accidentally, it can be possible to restore it back. It can be done via XML import and changing the status for the field. reverted back by using the form XML. Please follow the steps mentioned below to revert the deletion

Expand
titleClick here to view the steps...
  1. Go to the forms list page
  2. Click on the create 'Create' button and Create one create a form with 2-3 fields.Image Modified
      3.
  1. Delete one or more fields from
that form and export that form XML.

Image Removed

      4.
  1. the form
  2. Click on 'Export' button on the form summary page, this will download the form XML fileImage Added
  3. The list of deleted fields is available in the exported form XML underneath the <deletedFields> tag as below:
Code Block
<deletedFields>
  <field udn="age"/>
  <field udn="mrns.site"/>
</deletedFields>

      56The deletion of form fields can be undone by adding the following section in the XML to be imported:

Code Block
<undoDeletedFields>
  <field udn="age"/>
  <field udn="mrns.site"/>
</undoDeletedFields>

      67. Move the fields from "<deletedFields>" section to "<undoDeletedFields>" which you want to undo.

      78. Import updated XML file, after import deleted field is undone:

  


...