with on submit logic, You can automate actions whenever a response is submited. first we breifly go thought all autmiotin you cand do with on submit, then we learn how to activated it, and lasty we bring example for each of them to levarge this powerful tool in the right way
what can you do with on submit
ending pages: after you've set up multio;e ending pages, you can redriced user to one the desired endign page based on the users answers after submitionsn,
Redirect to webpage: same as ending page, you can redirect user to the dersied web page based on the user answer right after the submiton;
ٍEmail notifiton: you can sedn custome emails to users based on their actions aoutmaticoly rght on the submsition.
slack message: same as email you can notiy a indiviaot or chanel in the slack.
Call Webhook: you can perform outomation on your own inresituonton using webbjoom on submiton
Assign: you can set a choice for the single, multi and dropdown choices right on submtion for the user
Calculations: you can perfom mathamecal calcualtion on variable field right on the submtion.
How to use "On submit" logic in Formaloo
You can add "On submit" logic the same way you configure submission-based logic:
Go to your form’s advanced logic settings.
Click the "On submit" tab (next to "field" on the top bar).
Set up a condition based on the response update.
Save and test your workflow!
examples
go to nding apge:
Imagin you have a dontaiton form (https://dashboard.formaloo.com/templates/donation-form), and you've set option on wher user wants the money to be spend like (genreal fund, disasrer releife, educiton progrma, and communitoy outreach), and you've made custome text message and info for each one that you want to show the user based on the disers locaion, let's learn how to do so:
1. first make all the dning pages you want adn customize them
2. go to the advance page
3. find on submit
4. set the desried contion of triggering, here i set when user selected option 3, I want the ending page educiton program to be show.
5. done
Redirect user:
imaging the same scenario of the ending page, but instead of redriecitng user to one of the ending pages, you want the user to be redireced to the a web page (for example you've made a landign page).
Go to the on submit section of advanved logic
. set the desried contion of triggering, here i set when user selected option 3, I want the educiton program web page to be showm
done
slack messages, webhook
assign
With help of assign logic, based on the user action trigger, you can set(assign) a choice for the choice based field (signle choice, multi choice, and drop down).
Imagine you are using clinet portal for handling this CRM, now for each type of donation you have seprate repsrentory and point of contatct, and you want to automacitly assign the it to them. here I wnat to assigne the disaster relif donation to Ellie, all you have to do is:
go to the on submit on the advanced page
set the desried contion of triggering, here is when the donatgion is disaster relife,d i wan it o be assigned to ellie.
that's it.
calcualtion
with caluciotno on submit you can do any matnerhmacl calcituon on varibale fields, imagin you are conducitong a quize and you want to make calcute the score of studnes automacy, here in this scenarion i want to add 10 point when use ranswer the quesiton of what is capital of fracne to paric
go to on submit of adavnace lgoic page
make your deisre tirger
hit the claucltion types (add subrrace divde multio)
then set add 10 point to the score vartiable
thats it, done.