# Form input parameters

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

To pass parameters via the URL to the form we must define a variable or add a component to which we want to pass that 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 to the application page. As **Application component** we choose a field from the application or a session variable. We can also give 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>Illustration 1.</strong> Form input parameters</em></p></figcaption></figure>

### **Ways of passing parameters**

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

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

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

2. Providing 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 [Input parameters of the composite component](https://docs.eximee.com/documentation/documentation-en/interfejs-uzytkownika/komponenty-rozszerzone/komponenty-zlozone#parametry-wejsciowe)

\ <br>
