Pre-filling forms and using secret links¶
To make your forms quicker to fill out and encourage higher response rates, your organisation can create personalized, pre-filled form links. By utilizing URL parameters or specialized security settings, you can pass known default information safely to your users or let them fill out personal records securely without requiring a standard user account login.
Set defaults using URL parameters¶
You can automatically fill out specific text or choice selections on a submission form when a user lands on the page by attaching parameters directly to your form's web link.
- Identify the field key names you have used in your FormBuilder setup.
- Build your sharing link by taking your form's published page route and adding a question mark, followed by the field key and the desired default text. For example:
https://yourorganisation.org/civicrm/volunteer-signup?status=interested - To specify precise dates in a URL default parameter, format the value without spaces or special symbols using one of the following variations:
receive_date=2026-06-30receive_date=20260630receive_date=20260630105600(to specify exact hour, minute, and second values)- Relative dates:
receive_date=this.month(See the list)
Configure forms for secret access links¶
If you want to send form links to contacts via email that dynamically identify who they are—similar to standard CiviCRM checksum behavior—you must adjust your form permissions to support secure anonymous access.
- Navigate to Administer > Customize Data and Screens > FormBuilder and open your form.
- In the left-side Form Settings pane, click the Permission selection box.
- Select Generic: Anyone with secret link. This configuration explicitly signals to CiviCRM that the incoming web traffic will only be authorized if it arrives with a unique security token attached to the link.
- Under the Placement section, find the Expose To setting and select Message Tokens. This makes your form visible as an interactive mail-merge selection when designing broadcast communications.
Generate and distribute the secret link¶
Once the form permissions are ready, you can insert individual secret links dynamically into bulk mailings or workflow templates.
- Go to your mailings manager or template builder to write a message to your supporters.
- Open the Tokens list in your message composer editor.
- Locate your newly created form in the token list. Because you exposed the form to "Message Tokens" in FormBuilder, it will appear as a selectable merge choice.
- Insert the token into your email text or as the destination address for a "Update Your Info" button.
- When CiviCRM sends out the final email delivery, it automatically replaces that token with a uniquely generated, encrypted link for each recipient. When clicked, the link matches the recipient to their database profile and safely pre-populates their existing records without exposing your system to general public tampering.