If / else in forms: only if, unless and otherwise
Short answer: Use a branch when each answer leads to its own questions, "only if" for a question that appears in one case, and its "otherwise" question with the same rule turned around ("unless") for the other case, so exactly one of the two is asked. Endings work the same way: the first that fits, otherwise the usual thank-you. In calculations, if(condition, then, otherwise) does the same with numbers.
Four ways to say if / else
| You want | Use | Example |
|---|---|---|
| Different questions for each answer | Branch on the answers | Salaried, self-employed or commissioned: each gets its own step |
| One question in one case, another otherwise | Only if + an otherwise question | "Best time to call" if they want a call back; "Best email instead" unless they do |
| A different message at the end | Endings by answer | "We'll call you within a day" if urgent; otherwise the usual thank-you |
| A number that depends on answers | if() in a formula | if(Q2 = yes, 10, 0) |
Why "unless" beats copying the rule
An otherwise question uses the same conditions turned around, so a client who skips the first question, or whose answer hides it, still sees the other one. Writing the opposite rule by hand is easy to get wrong when an answer is left blank.
Check every path
- Test each branch with made-up answers before anyone fills it in.
- Look at the form as a flowchart to see every path at once.
- Make sure every path ends somewhere useful: a document, a summary line, or a message.
General information for Canadian businesses, not legal advice. Laws and professional rules change — check the current version with your regulator or lawyer.
SealDrop sends your clients a secure link to upload documents and fill in forms. Everything is stored in Canada and deleted once you have filed it. See conditional logic in SealDrop →
Questions
Can rules combine conditions?
Yes: all of, any of, and one level of groups, up to 10 conditions per rule.
Is the logic checked again on submit?
In SealDrop, yes: the server judges every rule again, so answers to hidden questions are dropped and stops can’t be skipped.