▶️ Generic forms
On this page
Documentation and Sample Code:
https://support.getstoreconnect.com/s/article/custom-forms
1. Create the Custom Form
-
Go to StoreConnect Navigation → Configuration → Forms → All Forms.
-
Click New to create a form.
-
Choose Generic Form → Click Next.
- Generic Forms can be placed anywhere on the website.
-
Give the form a Name.
-
Select a Redirect Page (if you want the user to land on a particular page after submitting the form).
-
Click Save.
2. Add Form Questions
-
Go to the Related tab of the form.
-
Under Form Questions, click New.
-
For each question:
-
Enter the Question Text.
-
Select the Data Type:
-
Boolean (Yes/No)
-
Number (Integer or Decimal)
-
Text / Text Area
-
Date
-
File Upload
-
Pick List (options separated by
;)
-
-
Configure:
-
Required → whether the question must be answered.
-
Hidden → whether it’s visible on the form.
-
Editable Later → whether the user can change it later.
-
Position → order on the form.
-
Validation Rules → if needed.
-
-
-
Click Save and New to add additional questions.
-
Repeat until all questions are added.
3. Associate the Form with the Store
-
Go to Store Forms.
-
Click New.
-
Select your Store.
-
Set the form to Active (or not active if you want to disable it).
-
Click Save.
4. Embed the Form on a Web Page
-
Go to Custom Content → Custom Pages → All Pages.
-
Select the page you want to embed the form on (e.g. Contact Page).
-
Edit the Content Block (usually a Text Area block).
-
Replace the existing content (e.g. old Salesforce Web-to-Lead form code) with StoreConnect’s custom form code snippet (provided in StoreConnect Support Documentation).
-
Insert your Form’s Salesforce Record ID into the code:
- Find this ID from the URL of your custom form page in StoreConnect.
-
Save the page.
5. Test the Form on the Site
-
Go to your Contact Page (or chosen page) and refresh.
-
You should now see your Custom Form with:
-
Multiple-choice (Pick List)
-
File Upload
-
Integer input
-
Text input
-
-
Fill in the form and click Submit.
6. View Form Submissions (Backend)
-
Go to your Custom Form → Related tab.
-
Under Form Submissions, open the relevant submission.
-
View Related to see each individual answer provided by the user.
Notes
-
Submitted data can be connected to Salesforce flows to automate creating Contacts, Leads, or other records.
-
StoreConnect custom forms support advanced inputs (like file uploads) that standard Salesforce web-to-lead forms do not.
-
The form is highly flexible and reusable across any web page on your store.