Versions Compared

Key

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

If any form field is deleted accidentally, it can be reverted by using the form XML. Please follow the steps mentioned below to revert the deletion.

  1. Go to the forms overview page.

  2. Download the XML of the form that you want to undo deleted fields for.

    CF 22.pngImage Modified
  3. The list of deleted fields is available in the exported form XML underneath the <deletedFields> tag.

    Code Block

...

languagexml
  1. <deletedFields>
    <field udn="Address"/>
    <field udn="biobank_details"/>
    </deletedFields>
  2. The deletion of form fields can be undone by adding the following section in the XML to be imported.

    Code Block
    languagexml
    <undoDeletedFields>
    <field udn="Address"/>
    <field udn="biobank_details"/>
    </undoDeletedFields>
  3. Move the fields from the "<deletedFields>" section to "<undoDeletedFields>" which you want to undo.

  4. Import the updated XML file from the form list page.

    CF 23.pngImage Modified


    CF 24.pngImage Modified
  5. After successful import, download the XML version of the form that includes the field. Click on the Preview 'Eye Icon' to see which version contains the field.

    image-20241125-115808.pngImage Modified
  6. Import the newly downloaded XML file and Refresh the form page to verify if the field is reverted.