"On Submit" logic is a powerful automation feature in Formaloo that allows you to trigger specific actions immediately when a user submits a form. This feature is part of Formaloo's advanced logic capabilities, alongside field-based logic and the "On Update" trigger system.
Understanding Form Automation in Formaloo
While field-based logic helps create dynamic forms that change as users interact with them, "On Submit" logic activates only after the entire submission is complete, enabling you to automate post-submission workflows.
What Can You Do With "On Submit" Logic?
"On Submit" logic transforms your forms from simple data collection tools into powerful workflow automation engines. Here are the key actions you can automate:
1. Custom Ending Pages
Direct respondents to specific ending pages based on their answers. This creates personalized experiences that acknowledge the unique information each user has provided.
2. Web Page Redirects
Send users to specific external websites after form submission, creating seamless transitions in your customer journey.
3. Email Notifications
Automatically send customized emails to users or team members based on submission data, ensuring timely follow-up without manual intervention.
4. Slack Notifications
Alert relevant team members or channels in Slack when specific conditions are met in a submission, keeping your team informed in real-time.
5. Webhook Integrations
Connect your form to other systems and applications through webhooks, extending the capabilities of your forms beyond Formaloo.
6. Assignment Automation
Automatically assign responses to team members based on submission data, streamlining your workflow management.
7. Automatic Calculations
Perform mathematical operations on variable fields when a form is submitted, enabling scoring systems and other computational needs.
How to Set Up "On Submit" Logic in Formaloo
Setting up "On Submit" logic is straightforward:
Navigate to your form in the Formaloo dashboard
Click on "Advanced Logic" in the form editor
Select the "On Submit" tab (located next to the "Field" tab)
Click "Add Logic" to create a new automation rule
Define your trigger conditions ("When this happens...")
Select the desired action ("Do this...")
Save your logic rule
Test your form to ensure the automation works as expected
Done.
Practical Examples of "On Submit" Logic
Now we will be going through all the possible automations with examples to help you understand how to leverage this powerful tool in the right way.
Example 1: Custom Ending Pages for a Donation Form
Scenario: You've created a donation form where donors can choose where they want their contribution directed (General Fund, Disaster Relief, Education Program, or Community Outreach). You want to show donors a customized thank-you page specific to their chosen cause.
Implementation:
Create custom ending pages for each donation category
Set up "On Submit" logic with the condition: "If donation purpose is Education Program"
Set the action: "Go to ending page: Education Program Thank You"
Repeat for each donation category
Done.
Example 2: Redirect Users to a Custom Web Page
Scenario: You've created a donation form where donors choose where to direct their contribution. Instead of using ending pages, you want to redirect donors to dedicated landing pages on your website for each cause.
Implementation:
Navigate to "On Submit" logic
Set the condition: "If donation purpose is Education Program"
Choose the action: "Redirect to webpage"
Enter the URL of your education program landing page
Repeat for each donation category with their respective landing pages
Done.
Example 3: Slack Notifications for Critical Bug Reports
Scenario: Your team uses a bug report form where users can mark issues as "Critical," "Major," "Minor," or "Cosmetic." You want critical bugs to immediately notify your lead developer in Slack.
Implementation:
Navigate to "On Submit" logic
Set the condition: "If bug severity is Critical"
Choose the action: "Send Slack message"
Select the recipient (your lead developer) or channel
Customize the message content to include relevant submission details
Done.
Example 4: Automatic Assignment in a Client Portal
Scenario: Your organization uses Formaloo as a CRM client portal. Different types of inquiries need to be assigned to different team members automatically.
Implementation:
Create a form with a dropdown for "Inquiry Type"
Set up "On Submit" logic with the condition: "If inquiry type is Disaster Relief Donation"
Set the action: "Assign to Ellie"
Create similar rules for other inquiry types and team members
Done.
Example 5: Score Calculation for Quizzes
Scenario: You've created an educational quiz and want to automatically calculate scores based on correct answers.
Implementation:
Set up variable fields to track scores
Create "On Submit" logic with the condition: "If answer What is the capital of France is Paris"
Set the action: "Calculate: Add 10 to score"
Repeat for each question in your quiz
Done
Related Features
Field-based Logic: Create dynamic forms that change as users interact with them
"On Update" Triggers: Automate actions when responses are updated after initial submission
Variable Fields: Store and manipulate data for calculations and personalization
With "On Submit" logic, your Formaloo forms become more than just data collection tools—they transform into powerful workflow automation engines that save time, reduce manual effort, and create better experiences for both your users and your team.