Form input parameters

Form input parameters

To pass parameters via the URL to a form we must 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 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.

Illustration 1. Form input parameters

Ways of passing parameters

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

  1. Specifying 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 composite components

Find more information in the Input parameters of the composite component

Last updated

Was this helpful?