I have set up logic jumps for a course registration form.
Original form format was apply only for one course at a time with a single $100 deposit request. I have now added multiple courses in one application which means $100 deposit per course chosen. So if 3 courses chosen $300 or 5 courses $500.
Can I set up payment question to calculate deposit amount to match amount of courses chosen while I have logic jumps linked to each question?
I cant seem to apply a logic jump and a variable into one Rule at the same time...
Best answer by TFJunkie
I just had a very well edited post, with screenshots explaining how I fixed my issue, and I pasted a photo outside the message box… grrr…
The only issue is, the black lines from unpopulated recalls. A big detraction from the aesthetic of the form and possibly a dev fix for the future.
It was mentioned I could create ending pages for each, which would literally mean dozens of the same pages, just so I could avoid having a blank line.
I was on a wild goose chase over the last week, with info being put out unclearly.
However, I will now outline the processes for others who are less literate with this platform or at least as literate as I am which is basic. I put in over 40hrs to get the form from a basic pick one course and pay the deposit to pick multiple courses and calculate full course fees, deposit and add merchant fee.
I guess a pro could have done it in one day, less then 8hrs…
First thing I did was create a short version of my form with the calculable questions.
Instead of working with a full form (below).
I set up all my variables, such as the course fees, the @recall prompts for my running totals throughout the form.
Then it was onto setting up the variables throughout the form. One variable adds the course price to a total. I’m still not clear what the @yesno variables do, but I added them in, just because I could and it didn't affect the form flow. I think they are supposed to add the course title to a page?
Then I set up the calculator. I used the; ‘is greater than or equal to’ trigger as I knew the minimum amount of courses the student had chosen to get to a recap page. And, the calculator didn't work properly when I had ‘is greater than’ 0 trigger. I used the default @price variable as I am using the integrated STRIPE payment page, which you will see later.
Once all the variables are set up back end. I went to work on the front end, adding @recall triggers. Because I have multiple threads weaving back to one recap page, I had to add alot of @recall triggers. This is why I get blank lines in the form.
Now it was time to set up my recap page. Contrary to what I thought, or understood previously where I was given a formula of multiply subtotal by amount ($500), the subtotal never worked no matter which way I had it set up, and I wasted ALOT of time attempting to make it work. So I simplified it, changed it around and used @price which made sense, because this amount would be the amount that would be whatever is required to be paid by the applicant.
The recap page shows the total course cost and total deposit required. the blank lines are unpopulated @recall triggers. Typeform doesn't have the capacity to remove the blank lines of unfilled triggers. (Perhaps a future dev tweak). I was advised that I could use separate ending/recap pages, but that would mean a half a dozen of them laying around along with the extra logics to get to those recap pages; I would probably have nearly 10 separate question threads which doesn't make sense.
Finally the payment page using the @price and @stripe variables. I set up a 2% merchant fee variable which adds on the fee automatically.
I started on this form variation last Monday and visited this everyday to finally figure it out on my own on Sunday and BOY what a relief it was.
Hi @TFJunkie Thank you for the screenshot! Very helpful. You should be able to setup a logic jump on a variable, but do you mind sending a screenshot of what you have currently setup for the logic jump? (Or what you would like setup in regards to the variable?) A screenshot of that specific jump would be handy!
while you can’t do both inside one logic rule, you can Add logic rules to each question in the branching and calculations area. that way you can assemble the required data in a variable (not @price) that you can show as a subtotal (“you registered for @coursecount courses which require a deposit of $100 per course, for a deposit total of $@sub_total_variable” (where the sub_total_variable is the count of courses * 100) .. if you are ok to continue onto to the payment screen press Yes”) - you would use a logic rule to add sub_total_variable to price.
hopefully that is helpful and not too late.. but that is how i have done this type of set up for folks ordering tshirts from me
Thanks @Liz This is the 1st question that jumps to the pricing of each course. Then a logic jump is assigned to prompt them to purchase optional equipment. This is established before they begin with their personal details.
This second screenshot is the payment section. It’s very basic at this stage where it just asks them which method of payment they prefer and then the credit card logic jumps to the ‘in-house’ payment request option with Stripe facility. We have had new clients ordering more than one course to get discounts. So I want to make it easier for students to do it all in one form instead of students filling out a fresh form for each course...
As @john.desborough just described. That is exactly the problem I am having, I cannot add a variable in the same rule once I have a logic jump assigned. I’m going to have to read your solution several times to get my head around it. But it sounds like an awesome set up.
@TFJunkie - yes.. and then combine them into price..
here’s a link to a test version of my tshirt order form - i use a statement page to mock up the price page but it shows the progression of getting items added to subtotal (for each tshirt selected, up to max of 3) and then it would flip over and add to price..
I see. So you separated the multiple shirt choices into separate choices ‘start with one’. That way you managed to assign the variables and follow with a logic afterwards.
Whereas my first question has multiple choices which then confuses the system by demanding a variable and a logic in one rule.
I then need to create more questions to choose their course of preference. Problem is we’ve had ladies book 5-6 courses, so I need create quite a long thread. You have 20 shirts, but you limited the total to 3?
Do I use the @coursecount and @sub_total in each question so the confirmation page can work properly or do I use a different variable?
@TFJunkie - i figured that if someone wanted to order more than 3 shirts (based on a logo) they could make a second order. It was just a choice on my part to set it to three..
for the courses:
everyone someone selects a course you can add one to @coursecount … you don’t have to do the multiplication to get the subtotal until the last question before the order page.
i always suggest presenting a yes/no page that says something like:
“Here’s the list you selected (bullet list of courses) and the deposit subtotal is @subtotal. If you are happy with this and want to proceed to the payment page to submit your deposit click yes. If you want to change your selections, click No
(and route them back to the top to start over again… but make sure that your first logic rule on the start point of course collection is to set the subtotal variable to 0 …
@TFJunkie - i figured that if someone wanted to order more than 3 shirts (based on a logo) they could make a second order. It was just a choice on my part to set it to three..
for the courses:
everyone someone selects a course you can add one to @coursecount … you don’t have to do the multiplication to get the subtotal until the last question before the order page.
I changed it to ‘add 1 to coursecount’ and it didn't do anything at recap page… When I have ‘add coursecount to sub_total’, then the $100 added up in total.
I’m getting other errors… there is not enough content on this topic in the forums to get clear direction.
I did the coursecount conditioner this way, by using ‘OR’. Where as you did a separate condition for each choice. Will it also work using or? Logically it makes sense, but maybe not for the program...
I did the coursecount conditioner this way, by using ‘OR’. Where as you did a separate condition for each choice. Will it also work using or? Logically it makes sense, but maybe not for the program...
this will only add 1 to the variable.. regardless of the number of courses selected.. you need to determine how many courses are selected…
I did the coursecount conditioner this way, by using ‘OR’. Where as you did a separate condition for each choice. Will it also work using or? Logically it makes sense, but maybe not for the program...
this will only add 1 to the variable.. regardless of the number of courses selected.. you need to determine how many courses are selected…
They can only pick one course, not multiple courses in one question.
I have started working on this setup. As I understand it.
I need to assign the yes/no to the choices pages.
Why did you write no in the variable and yes in the form?
Does this setup in red square (pictured below) only go on the recap order page or on every page that requires the client to make a choice?
When I have a question that offers them to add a course on, not make a choice from multiple.
Do I just add the yes/no variable without the coursecount/subtotal variable, or do I have to put the coursecount/subtotal variable as well?
This is very complex. . . :) and fun for me
once at the end…
I thought its for every recap page. So when they pick one course, and a 2nd in another question, they get a recap of which courses currently chosen and deposit amount, and then they have another question to pick another course followed by a recap page, showing which courses they picked and deposit amount.
Hi @TFJunkie Thanks for posting these screenshots! I think it might be better to have a support agent take a look at the form since they’ll be able to log into your account directly and go through all the jumps you have. I escalated this to the team for them to look at ASAP, but if you don’t hear back from them, please let me know.