@ahmadnasriya Thanks again for all your help!
A couple of issues, though.
#1: I moved the progress bar states like you suggested, and for some reason, that unlinked my form submissions. For some reason, the error of it being outside of a function only came up on the mobile version. Mobile capture being very important for my purposes, naturally, putting it on the onReady function at least got the form to work, but now I’m not capturing emails anymore for some reason…
What could the reason for that be?
#2: I tried adding the code for the answers, but it doesn’t work… When I try to run it, I get the error:
Here’s my code:
var selectedValue
var answers
export function q1submit_click(event) {
let q1 = $w('#orgYorN').value;
answers.q1 = q1;
selectedValue = $w('#orgYorN').selectedIndex
if(selectedValue ===0)
{$w('#funnelQuiz01').changeState("q2")}
if(selectedValue ===1)
{$w('#funnelQuiz01').changeState("sorry")}
}
