I am kind of a newbie in LiveCycle, so my questions may very well be completely stupid :)
I have created a form that contains several subforms (call them subform 1, 2, 3 and 4 for simplicity). I want subform 1 to be visible at all times, while the other ones are hidden until the user makes a choice from a drop-down list in subform 1.
When the user has made a choice, I want for instance subform 3 to become visible, and to be placed directly beneath subform 1. All the other subforms should still be hidden.
What I have accomplished so far, is to make the different subforms visible when the user makes a choice. But my problem is that the subforms do not float, they don't move up directly under subform 1.
I use JavaScript to hide/show the subforms based on the choice made by the user (change event in the drop-down list). If I try hiding and showing the different subforms manually while in Design View, they float perfectly (i.e. I make subform 2 and 4 visible while 3 is hidden, then 4 places itself directly beneath 2)
Any ideas as to what I am doing wrong?