# How to make the "x" appear when the answer is wrong and not when the answer is right (harlowe)

+1 vote
``````
(set:\$ans2 to "2.Customer never received Statement")
]
(set:\$ans1 to "1.past cut off time")
]
(set:\$ans5 to "5.Mailed in payment")

]
(set:\$ans6 to "6.Customer was in the hospital")

]
(set:\$ans4 to "4.Customer was on vacation")
]
(set:\$ans3 to "3.Forgot to pay bill")
]

####Reasons customers call in to have a late fee removed
(if:\$ans1 is 0)[(set:\$ans1 to "1._______")]
\$ans1
(if:\$ans2 is 0)[(set:\$ans2 to "2._______")]
\$ans2
(if:\$ans3 is 0)[(set:\$ans3 to "3._______")]
\$ans3
(if:\$ans4 is 0)[(set:\$ans4 to "4._______")]
\$ans4
(if:\$ans5 is 0)[(set:\$ans5 to "5._______")]
\$ans5
(if:\$ans6 is 0)[(set:\$ans6 to "6._______")]
\$ans6

(elseif:\$answer1 is (either: \$ans1, \$ans2, \$ans3, \$ans4, \$ans5, \$ans6))
[[[[Next|next 1.2]]]

(else:)[(set:\$x to \$x+1)
]

(if:\$x is 1)[
#x
]
(if: \$x is 2)[
#xx
]
(if: \$x is 3)[
#xxx
]
[[Next|next 1.2]]]
``````

by (6.2k points)

Here, you put  four open square brackets:

``````
(elseif:\$answer1 is (either: \$ans1, \$ans2, \$ans3, \$ans4, \$ans5, \$ans6))
[[[[Next|next 1.2]]]``````

But it looks like you only need one open bracket. Try this:

``````
(elseif:\$answer1 is (either: \$ans1, \$ans2, \$ans3, \$ans4, \$ans5, \$ans6))
[[[Next|next 1.2]]]``````