Autofill Additional Field on Checkout ( Text Field )

This guide explains how to automatically populate an Additional Field (Text Field) on the checkout page using URL query parameters.


1. Field Configuration


Create an Additional Field with the following setup:


  • Field Type: Text Field
  • Field Label: ROAR ID (example)
  • This label will be used to map values from the URL.

2. Autofill Using URL Query Parameters


You can automatically fill the field value by passing a query parameter in the checkout URL.


Format:

?FieldLabel=FieldValue


Example:

Field Label: ROAR ID

Field Value: xyz

URL: https://pfnl.co/b4ldvuh?ROAR%20ID=xyz

  • When customers open this URL, the ROAR ID field will automatically be filled with xyz.

3. Making the Field Read-Only


You can prevent customers from editing the auto filled value.


Steps:

  1. Go to Additional Field Settings
  2. Mark the 'Readonly' option

Once enabled:

  • The value will be displayed at checkout
  • Customers cannot modify the field


4. Default Value Override Behavior


  • If the text field already has a default value, and
  • A value is passed through the URL query parameter

The query parameter value will override the default value automatically.


Email us at support@payfunnels.com for queries.