# Form input parameters

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

To pass parameters via 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, we select the option **Input parameters**, and then **Add input parameter**. As the value **Alias** we provide the name of the injected variable alias. **Alias** will be part of the URL address to the application page. As **Request component** we choose a field from the application or a session variable. We can also assign it a default value that will be used if the parameter is not passed in the URL.

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2FpBqooVTLLNussGeQJpJ1%2Fimage.png?alt=media&#x26;token=fa3140ad-441e-40ab-b14f-d9f6c6f13941" alt=""><figcaption><p><em><strong>Figure 1.</strong> Form input parameters</em></p></figcaption></figure>

### **Ways to pass parameters**

1. Providing the parameter directly in the URL address:\
   \
   <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. Providing the 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 complex components

You can find more information in the section [Complex component input parameters](https://docs.eximee.com/documentation/documentation-en/interfejs-uzytkownika/komponenty-rozszerzone/komponenty-zlozone#parametry-wejsciowe)

\ <br>
