How can I build a 'combo' box with multiple input text boxes.
I tried to work with the example of one optional text input but need to apply the radio option to add extra fields through out the form
Phil Mace
Hi Phil,
Sorry, please can you explain in a bit more detail. I can't work out exactly what you need here?
Bob
Hi Phil,
I would be inclined to group the fields for the first borrower all together; followed by the fields for the second borrower. And I'd put each group inside a container in the form Preview box.
Then you can use JavaScript to hide the whole of the second container until the 'two borrower' radio box is checked.
You don't seem to have any validation on the form so you could just hide the unwanted container. If you do need validation then you will need to add JavaScript to disable the hidden inputs (which also disables the validation) and I usually clear the values at the same time to avoid any unwanted data lying around.
Bob
that makes logical sance I can do that.
Just need some help with the java script.