> For the complete documentation index, see [llms.txt](https://docs.flexikanban.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexikanban.ai/components/forms/using-form/how-to-build-the-link-to-the-form.md).

# How to build the link to the Form

Link to the form can be built with two ways:

* Combine relative or absolute URL of form page with necessary parameters
* Use BUILDFORMLINK function

### Use of form page URL

This way is suitable for URL/Navigate actions:

<img src="/files/zBJIGUbcxh7XbgQAXC3k" alt="" class="gitbook-drawing">

* Add an "Navigate to URL" (1) action to necessary form.
* Set URL Value (2) to relative or absolute path to form page or component:
* * Absolute path depends on server/organization you refer to.
  * Relative path may depend on page structure and will refer to the current server/organization; e.g., relative path can be like this: **/lightning/cmp/c\_\_FormPanel**
* Select which browser window the page will be opened in (3) - the same  or new window/browser tab.
* Add the necessary parameters (4).

Parameters for Form, used in this example, are:

* **style** = some CSS styles, that will be applied to Form container;
* **variables** = JSON with variables that should be passed to Form opened (optional);
* **formId** = ID of Form to open (may be set directly or via [merge fields](/standard-kanban/tools/using-merge-field-picker.md));

<img src="/files/82A1fcLh3MQyf1ZxtWVL" alt="" class="gitbook-drawing">

After being configured and saved, this action will open a necessary Form with variables set and styles applied.

### Use of BUILDFORMLINK() function

This way is good for places where link should be generated as HTML, instead of script-driven actions. For example, it is good to build links in email messages. This function allows to build as simple URL, as correct HTML <mark style="color:red;">`<a>`</mark> tag with custom inner text.

The BUILDFORMLINK() function can be selected via merge field picker and should be called in this way:

<mark style="color:red;">`BUILDFORMLINK(form_id, record_id, mode, context_fields, parameters, entire_height, as_html_tag_optional, text_optional)`</mark>

See description of function arguments in the [proper article section](/references/functions.md).

Function should be wrapped with FORMULA\[] operator and can be validated with [formula builder.](/standard-kanban/tools/using-formula-editor.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flexikanban.ai/components/forms/using-form/how-to-build-the-link-to-the-form.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
