If, then, else statements—Java the oly viable choice?

Looking for a way to do "if A then B" wherein A (the state) is a checkbox checked and B (the action) is displaying text and/or graphics. Maybe you have 3 check boxes. You pick one (which brings the question of how the programmer makes one of the three the only acceptable choice, i.e. two or more checks fails) ... back to the question. I see that the branching statement stated at the top can be programmed with Java. I assume that's not the case with XML / CSS(?)

So, to continue, if you do this with Java, can that code be employed as part of the coding window available in Weebly?

Thanks in advance for any guidance.

863 Views
Message 1 of 4
Report
3 REPLIES 3

Hello! I'm no coder myself, but branching logic can be included in a lot of different languages. You may want to look up some resources online about how each is implemented to see which way works best for your needs.

850 Views
Message 4 of 4
Report

Thanks much. I hope to get to this soon. If so, I'll pass it on FWIW.

823 Views
Message 4 of 4
Report

Hi, I currently have the same question.  Did you happen to find an answer?  I have the Java code but no way to make it work on weebly that I can find.  Is there a way?  or, is there a way to accomplish the same with just HTML?

Thank you for your time.

785 Views
Message 5 of 4
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.