Skip to main content

What is "On Submit" logic and how it works

"On Submit" trigger, allows you to automate actions when a response is submitted.

Updated over 2 weeks ago

"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:

  1. Navigate to your form in the Formaloo dashboard

  2. Click on "Advanced Logic" in the form editor

  3. Select the "On Submit" tab (located next to the "Field" tab)

  4. Click "Add Logic" to create a new automation rule

  5. Define your trigger conditions ("When this happens...")

  6. Select the desired action ("Do this...")

  7. Save your logic rule

  8. Test your form to ensure the automation works as expected

  9. 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:

  1. Create custom ending pages for each donation category

  2. Set up "On Submit" logic with the condition: "If donation purpose is Education Program"

  3. Set the action: "Go to ending page: Education Program Thank You"

  4. Repeat for each donation category

  5. 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:

  1. Navigate to "On Submit" logic

  2. Set the condition: "If donation purpose is Education Program"

  3. Choose the action: "Redirect to webpage"

  4. Enter the URL of your education program landing page

  5. Repeat for each donation category with their respective landing pages

  6. 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:

  1. Navigate to "On Submit" logic

  2. Set the condition: "If bug severity is Critical"

  3. Choose the action: "Send Slack message"

  4. Select the recipient (your lead developer) or channel

  5. Customize the message content to include relevant submission details

  6. 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:

  1. Create a form with a dropdown for "Inquiry Type"

  2. Set up "On Submit" logic with the condition: "If inquiry type is Disaster Relief Donation"

  3. Set the action: "Assign to Ellie"

  4. Create similar rules for other inquiry types and team members

  5. 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:

  1. Set up variable fields to track scores

  2. Create "On Submit" logic with the condition: "If answer What is the capital of France is Paris"

  3. Set the action: "Calculate: Add 10 to score"

  4. Repeat for each question in your quiz

  5. Done

Related Features


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.

Did this answer your question?