My goal is to a set up a formular of the following form:
If you choose A then continue with Question 2, if you choose B then continue with question 3.
So in case the user chooses B question 2 should be skipped. I seek a way that the fields of question 2 will be automatically deactivated when the user chooses B in question 1. Basically by pressing tab the user should directly be directed to question 3 if he has choosen B in question 1.
do you want to protect the question if it is skipped or push the user to the appropriate question? This is a conditional response. We see this on paper forms all the time for example: if you selected "no children" skip question 3 and go to question 9. If this is the case you may want to not only lock the subsequent questions (as they are not relevant) but drive the user to the next question they need to respond to. as MinusZero has indicated you can lock the questions however once that is done, you would want to set the focus to the next question. You would need to use the setFocus function in your script xfa.host.setFocus("#field"); for example