Getting Started with QuikForms
Welcome to QuikForms! This guide will walk you through installing QuikForms in your Salesforce org and creating your first form in minutes.
Overview
QuikForms is a powerful form builder for Salesforce that enables you to create beautiful, functional forms with features like version control, multi-language support, and extensible plugin architecture.
What You'll Learn
- How to deploy QuikForms to your Salesforce org
- Configuring reCAPTCHA and security settings
- Creating your first form with fields and styling
- Publishing and accessing your form
Prerequisites
Before you begin, ensure you have the following:
- Salesforce Org - Developer, Sandbox, or Production org with admin access
- Salesforce CLI (SFDX) - Install from Salesforce Developer Tools
- Git - For cloning the repository
- Google reCAPTCHA Keys - Optional but recommended. Get keys from Google reCAPTCHA
API Version Requirement
QuikForms requires Salesforce API version 65.0 or higher. Ensure your org is up to date.
Installation
Follow these steps to install QuikForms in your Salesforce org.
Step 1: Deploy Metadata
Clone the QuikForms repository and deploy the metadata to your org:
# Clone the repository
git clone https://github.com/your-org/quikforms.git
cd quikforms
# Authenticate with your org
sfdx auth:web:login -a MyOrg
# Deploy the source code
sfdx project deploy start -o MyOrg
Deployment Success
If deployment succeeds, you'll see a message confirming all components were deployed successfully.
Step 2: Configure Custom Metadata
Configure the QuikForms settings using Custom Metadata Types:
- Navigate to Setup → Custom Metadata Types
- Click on QuikForms_Setting
- Click Manage Records
- Click New to create a new setting record
- Configure the following fields:
| Field | Description | Example Value |
|---|---|---|
Label |
Setting record name | Default Settings |
Recaptcha_Site_Key__c |
Google reCAPTCHA site key | 6LdXXXXXXXXXXXXXXX |
Valid_Survey_Days__c |
Default survey validity period | 30 |
Valid_Referrer_1__c |
Allowed domain for form submission | https://yourdomain.com |
Google_Analytics_Site_ID__c |
Google Analytics tracking ID (optional) | G-XXXXXXXXXX |
Custom Metadata configuration screen
Step 3: Create Named Credential
Create a Named Credential for Google reCAPTCHA verification:
- Navigate to Setup → Named Credentials
- Click New Named Credential
- Configure the credential:
| Field | Value |
|---|---|
| Label | Recaptcha |
| Name | Recaptcha |
| URL | https://www.google.com/recaptcha/api |
| Identity Type | Named Principal |
| Authentication Protocol | Password Authentication |
| Username | (leave blank) |
| Password | Your reCAPTCHA secret key |
Step 4: Create Admin Pages
Create Lightning App Builder pages for the admin interface:
Forms Manager Page
- Navigate to Setup → Lightning App Builder
- Click New
- Select App Page, click Next
- Enter label: QuikForms Manager
- Select One Region template
- Drag the quikFormsManager component to the page
- Click Save and Activate
- Add to navigation menu
Field Library Page
Repeat the process for the Field Library page using the quikFieldsLibrary component.
Error Manager Page
Create another App Page using the quikFormsErrorManager component.
Navigation Menu
Add all three pages to your app's navigation menu for easy access. Recommended menu structure:
- QuikForms Manager
- Field Library
- Error Manager
Step 5: Configure Permissions
Assign permissions to users who will manage forms:
- Navigate to Setup → Permission Sets
- Find and click QuikForms_Admin
- Click Manage Assignments
- Click Add Assignments
- Select users who should have admin access
- Click Assign
Guest User Access
For public forms accessible by unauthenticated users, ensure the Guest User Profile has Read access to FormDefinition__c and FormConfigVersion__c objects.
Quick Start: Create Your First Form
Now that QuikForms is installed, let's create your first contact form in just a few minutes!
Step 1: Create Fields
First, create reusable fields in the Field Library:
- Navigate to the Field Library page
- Click New Field
- Create the following fields:
Email Field
{
"Name": "contact_email",
"Label": "Email Address",
"Type": "inputText",
"ObjectField": "$EMAIL",
"IsRequired": true,
"ValidationRegex": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"
}
Name Field
{
"Name": "contact_name",
"Label": "Full Name",
"Type": "inputText",
"ObjectField": "Case.SuppliedName",
"IsRequired": true
}
Subject Field
{
"Name": "contact_subject",
"Label": "Subject",
"Type": "inputText",
"ObjectField": "Case.Subject",
"IsRequired": true
}
Message Field
{
"Name": "contact_message",
"Label": "Message",
"Type": "inputTextarea",
"ObjectField": "Case.Description",
"IsRequired": true
}
Field Editor with configuration options
Step 2: Create Form
Create a new form definition:
- Navigate to the QuikForms Manager page
- Click New
- Enter form details:
| Field | Value |
|---|---|
| Name | Contact Us Form |
| Form ID | contact-us |
| Description | Customer contact form |
| Form Object | Case |
| Form Type |
Click Save. QuikForms will automatically create a draft version and open the Form Builder.
Step 3: Add Fields to Form
In the Form Builder, add your fields:
- Click the Fields tab
- In the Available Fields section, find your created fields
- Drag each field to the Display Fields section in this order:
- Full Name
- Email Address
- Subject
- Message
- Adjust column spans for layout (e.g., Full Name: 3 columns, Email: 3 columns)
- Click Save
Form Builder - Fields Tab
Step 4: Style the Form
Customize the form's appearance:
- Click the Styling tab
- Choose a color preset or customize colors:
- Background Color: #ffffff
- Button Color: #1e5ba8
- Highlight Color: #AA28B9
- Select a font family (e.g., Inter)
- Click Save
Settings Configuration
Click the Settings tab and configure:
| Field | Value |
|---|---|
| Title | Contact Us |
| Subtitle | We'd love to hear from you |
| Submit Button Label | Send Message |
| Confirmation Message | Thank you! We'll get back to you soon. |
| Enable reCAPTCHA | ✓ (checked) |
Step 5: Preview & Test
Test your form before publishing:
- Click the Preview tab
- The form will load with your current configuration
- Fill out and submit the form to test functionality
- Check that a Case record is created in Salesforce
- Verify the confirmation message displays
Preview Mode
Preview mode uses a secure token that expires after 24 hours. This allows you to test draft forms before publishing to production.
Form Preview with live rendering
Step 6: Publish and Access the Form
Once you're satisfied with your form, publish it:
- In the Form Builder, click Publish
- Enter a version number (e.g., 1.0)
- Add release notes (optional)
- Click Publish Version
Form URL
Your form is now accessible at:
https://[your-domain].my.salesforce-sites.com/qform?fc=contact-us
Where [your-domain] is your Salesforce Site domain.
Embedding Forms
You can embed QuikForms in your website using an iframe:
<iframe
src="https://[your-domain].my.salesforce-sites.com/qform?fc=contact-us"
width="100%"
height="600"
frameborder="0">
</iframe>
Next Steps
Congratulations! You've successfully installed QuikForms and created your first form. Here are some recommended next steps:
Explore Admin Features
Learn about version control, multi-language support, and related objects
Component Reference
Deep dive into all available components and field types
Extend with Plugins
Build custom validators and submission handlers