> For the complete documentation index, see [llms.txt](https://docs.eximee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eximee.com/budowanie-aplikacji/logika-biznesowa/parametry-wejsciowe-formularza.md).

# Parametry wejściowe formularza

## Parametry wejściowe formularza <a href="#parametrywejscioweformularza-parametrywejscioweformularza" id="parametrywejscioweformularza-parametrywejscioweformularza"></a>

Aby przekazać parametry przez url do formularza musimy zdefiniować zmienną lub dodać komponent, do którego chcemy ten parametr przekazać.

W widoku edycji wniosku w lewym menu wybieramy opcję **Parametry wejściowe**, a następnie **Dodaj parametr wejściowy**. Jako wartość **Alias** podajemy nazwę aliasu zmiennej wstrzykiwanej. **Alias** będzie częścią adresu url do strony wniosku. Jako **Komponent wniosku** wybieramy pole z wniosku lub zmienną sesyjną. Możemy nadać jej również wartość domyślną, która będzie wykorzystywana jeśli parametr w url nie zostanie przekazany.

<figure><img src="https://1082717226-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2FpBqooVTLLNussGeQJpJ1%2Fimage.png?alt=media&amp;token=fa3140ad-441e-40ab-b14f-d9f6c6f13941" alt=""><figcaption><p><em><strong>Ilustracja 1.</strong> Parametry wejściowe formularza</em></p></figcaption></figure>

### **Sposoby przekazywania parametrów**

1. Podanie parametru bezpośrednio w adresie URL:\
   \
   <http://adres-do-platformy/?parametr=wartosc#/nazwa-wniosku>

{% hint style="danger" %}
**Przekazanie parametru**

Należy poprawnie przekazać parametr w adresie. Poprawny przykład: <http://adres-do-platformy/?parametr=wartosc#/nazwa-wniosku>. Parametr musi być przed #.
{% endhint %}

2. Podanie parametru jako ukryte pole input:

```
<form action="#/nazwa-wniosku">
   <input class="redirect-button" type="submit" value="Idź"/>
   <input type="hidden" id="parametr" name="parametr" value="wartosc"/>
</form>
```

### Parametry wejściowe komponentów złożonych

Więcej informacji znajdziesz w dziale [Parametry wejściowe komponentu złożonego](/budowanie-aplikacji/interfejs-uzytkownika/komponenty-rozszerzone/komponenty-zlozone.md#parametry-wejsciowe)

\ <br>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eximee.com/budowanie-aplikacji/logika-biznesowa/parametry-wejsciowe-formularza.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
