# Form input parameters

## Form input parameters <a href="#parametrywejscioweformularza-parametrywejscioweformularza" id="parametrywejscioweformularza-parametrywejscioweformularza"></a>

To pass parameters through the URL to a form, we need to define a variable or add a component to which we want to pass this parameter.

In the application edit view, in the left menu, select the option **Input parameters**, and then **Add input parameter**. As the value **Alias** we enter the name of the injected variable alias. **Alias** will be part of the application page URL. As **Application component** we choose a field from the application or a session variable. We can also assign it a default value, which will be used if the parameter is not passed in the URL.

<figure><img src="/files/43950ed291c197204a31ab888551595974dd3cf7" alt=""><figcaption><p><em><strong>Figure 1.</strong> Form input parameters</em></p></figcaption></figure>

### **Ways to pass parameters**

1. Passing a parameter directly in the URL:\
   \
   <http://platform-address/?parameter=value#/application-name>

{% hint style="danger" %}
**Passing the parameter**

The parameter must be passed correctly in the address. Correct example: [http://platform-address/?parameter=value#/application-name](http://adres-do-platformy/?parametr=wartosc#/nazwa-wniosku). The parameter must be before #.
{% endhint %}

2. Passing a parameter as a hidden input field:

```
<form action="#/application-name">
   <input class="redirect-button" type="submit" value="Go"/>
   <input type="hidden" id="parameter" name="parameter" value="value"/>
</form>
```

### Input parameters of composite components

More information can be found in the section [Composite component input parameters](/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/komponenty-rozszerzone/komponenty-zlozone.md#parametry-wejsciowe)

\ <br>


---

# 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.eximee.com/documentation/documentation-en/budowanie-aplikacji/logika-biznesowa/parametry-wejsciowe-formularza.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.
