# Publish a Form

## Description

This document provides instructions to publish a form available in a project using ODK Central.

## Pre-requisites

* [ODK Central](https://docs.getodk.org/central-intro/) must be deployed and available
* The user must have valid credentials to login **ODK Central**
* The user must have an Administrator role in **ODK Central**. See [Create User and Assign Role](https://docs.openg2p.org/1.2/user-guides/platform-guides/eligibility-and-program-enrollment/settings/assign-roles-to-users) guide.

## Procedure

1. Login to the **ODK Central**
2. Click the relevant project link.

For example, here, the project is considered as Safety Net Program.&#x20;

3. Click the project (Safety Net Program) link listed below the **Projects**.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2FKySMCK34RkDbfNVl7SeV%2Fsafety-net-program-under-project.png?alt=media&#x26;token=1166bb5c-c45a-4d51-9a73-0e2076f5e0ad" alt=""><figcaption></figcaption></figure>

4. The project (Safety Net Program) overview page is displayed.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2FGyDJcYwmXgMsa2tOJiyj%2Fsafety-net-program-form-under-project.png?alt=media&#x26;token=732a83e1-f5f8-4527-9ec7-15697e51214c" alt=""><figcaption><p>Safety Net Program</p></figcaption></figure>

&#x20;5\.  Click the form available below the ***Forms***.

For example, here the form selected is Safety Net Program.

The  Safety Net Program Forms screen is displayed.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2FCLAjcmbQStNdzSs2tAlW%2Fsafety-net-program-form.png?alt=media&#x26;token=3a92fa6b-6612-4bbd-81a6-9a055186bbe2" alt=""><figcaption></figcaption></figure>

In the ***Draft*** section, you can find two tabs.&#x20;

* Status
* Testing

**Status - Actions**

In the ***Status*** tab, you can publish and delete form in ***Actions*** section.

6. Click the ***Publish*** button.

***P*****ublish Draft** screen pop-ups. Read the instruction and click the ***Proceed*** button.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2F7d9VTUmyEUsVXXI4KplY%2Fpublish-draft.png?alt=media&#x26;token=ce000687-6787-4897-9663-7bad9e8c5551" alt=""><figcaption><p>Publish Draft</p></figcaption></figure>

Note:&#x20;

If you have not tested the form for submission before publishing, the below screen pops up. Take the required necessary action and click the ***Proceed*** button.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2FXkipx5oXqb0erYlkFia9%2Ftest-form.png?alt=media&#x26;token=fb2d7e55-1a4d-414f-877b-34c8e345e545" alt=""><figcaption><p>Publish Draft </p></figcaption></figure>

7. Again ***Publish Draft*** screen pops up. Read the instruction and change the version number of the form in the version field.
8. Click the ***Proceed*** button.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2FtsfT1JXiwF7Rb45cnQqj%2Fpublish-draft-01.png?alt=media&#x26;token=c58ca18c-7aaf-48f5-abbd-f5757a8b2f26" alt=""><figcaption><p>Publish draft</p></figcaption></figure>

9. A message pops up which provides the status of the form.
10. The updated draft version is now published.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2Fhe6zGRFmyQmxoRHbPskQ%2Fsafety-net-program-form-published-1.9.png?alt=media&#x26;token=dcac265b-00b8-4f22-b886-e6d332e8200d" alt=""><figcaption><p>Safety Net Program published</p></figcaption></figure>

11. Click the ***Version*** tab to find the published version of the form.

<figure><img src="https://252389534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCwMntokukpQZjoCcqMwL%2Fuploads%2FpVl7A7CUpi59L5lvimp3%2Fsafety-net-program-form-published-1.9-versions.png?alt=media&#x26;token=90a87c6b-4716-423a-9e73-595b2e7ead51" alt=""><figcaption><p>Safety Net Program - Version</p></figcaption></figure>

This completes the process of publish a form in ***ODK Central***.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openg2p.org/1.2/user-guides/platform-guides/registration/odk/publish-a-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
