if/else if statements
Hello. I am trying to use if/else if statements to align bullet points and their respective line(s) horizontally based on how many bullet points are turned on with a checkbox.
Each bullet point has a 1 line of copy option and a 2 lines of copy option.
The position for bullet points 2 is driven by the position of bullet point 1. Bullet point 3 is driven by the position of bullet point 2. And so on.
My idea was to say if, for example, checkboxes for bullet point 2, 1 copy line and bullet point 2, 2 copy lines are off, do not adjust bullet point 1 on the y-axis. But if one of those checkboxes is on, adjust bullet point 1 on the y-axis. Then to use else if statements to build on that (reposition bullet point 1 on the y-axis) if the checkbox for bullet point 3 is on and so on.
However, my “attempt” is not working :). I have attached the code showing up to bullet point 4.
I am guessing it is because I am combining different operators in one statement but not sure.
Any suggestions? Thank you!