Advanced Features¶
Unlock the full potential of Advanced Forms with these powerful capabilities.
Query Parameter Prefilling¶
You can automatically pre-fill form fields by passing data in the URL. This is perfect for email campaigns or linking from other systems.
How it Works¶
- Match Keys: The URL query parameter key must match the Field Key defined in your form element.
- Case Sensitive:
?FirstName=Johnwill match a field with KeyFirstName, but notfirstname. - Empty Fields Only: The system only populates fields that are currently empty. It will not overwrite existing user data.
Example¶
URL: https://rock.church/forms/5?CampaignCode=SUMMER2024&Source=Email
- Field 1 (Key: CampaignCode): Populates with "SUMMER2024".
- Field 2 (Key: Source): Populates with "Email".
Form Pack Options¶
This also works for Form Pack Options. If a URL parameter matches an Option Key, that option is pre-selected, allowing you to deep-link users into specific paths of a multi-form workflow.
Lava Merge Fields¶
Lava is available in Instructions, Confirmations, and Descriptions.
Common Merge Fields¶
| Field | Description | Context |
|---|---|---|
CurrentPerson | The currently logged-in user. | All |
PageParameter | Dictionary of URL parameters. | All |
FormEntry | The current submission. | Save Hooks / Email |
Options | Selected options (Form Packs). | Form Pack Instructions |
FormattedValue | The display text of an answer. | Element Entries |
Runtime Defaults¶
You can use Lava to calculate Default Values for fields. 1. Set the Field's Default Value Source to "Lava". 2. Enter Lava in the Default Value box:
Voice Entry (Experimental)¶
The Form Pack Entry Editor block includes an experimental Voice Input feature powered by OpenAI.
- Functionality: A microphone icon appears next to supported fields. Users tap it, speak their answer, and the AI transcribes it into the text box.
- Configuration: Requires an OpenAI API key configured in Rock.
- Use Case: Mobile users filling out long text fields (e.g., "Tell us your testimony").
Progress Tracking¶
For Form Packs, a progress indicator is automatically displayed. * Visuals: Shows a step-by-step list of forms. * Status Icons: Checks for completed forms, circles for active forms. * Calculation: (Completed Forms / Total Visible Forms) * 100.
Export and Import¶
Easily move forms between Stage and Production environments.
Share Forms Block¶
- Export: Select a Form Type -> Download
.jsonfile. - Import: Upload
.jsonfile -> Creates new Form Type. - Dependencies: The importer attempts to match Defined Types and other dependencies by GUID. If a dependency is missing, it will alert you.
Share Form Packs Block¶
- Works identically to Share Forms but handles the entire structure: The Pack, its Options, and all child Form Types are bundled into a single JSON file.