Tech Tip: Using URL Parameters to Pre-Fill Form Fields

Often a Laserfiche form will contain several generic fields that many respondents will answer in the same way. Instead of requiring users to enter repetitive or obvious information, these fields can be filled in with the correct values when the form is opened. Setting up pre-filled forms requires the form’s URL and the variable names of the fields that will be filled in.

Field values can be passed into a form by appending them to the form’s URL using the following structure:

baseURL?variable1=value

Replace baseURL with the form’s URL, variable1 with the variable associated with the field to be filled in and value with the appropriate field value. To fill in multiple fields, insert theampersand symbol (&) before any additional variables:

baseURL?variable1=value&variable2=value

For example, on a purchase order form that is only available to Laserfiche employees, the Company field can be pre-populated using the following URL: baseURL?Company=Laserfiche.

In addition to manually specifying URL parameters to pre-fill fields, organizations can also use Workflow to create these customized URLs.

Note: URL parameters can only be used with the starting form of a business process.