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
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
Sorry, please can you explain in a bit more detail. I can't work out exactly what you need here?
Bob
sorry for not being clear.
here is the form I am working on
http://amo.com.au/joomla3/index.php?option=com_chronoforms&chronoform=test&event=page%20two&cf_sid=b3a07e0abcda98e3f312bcd0c5d36084
there is either one or two borrowers and I need to turn off the second borrowers fields when only one borrower is selected.
I thought I had cracked it when I found the tutorial http://www.chronoengine.com/forums.html?cont=posts&f=5&t=88919&p=308946&hilit=hidden#p308946
here is the form I am working on
http://amo.com.au/joomla3/index.php?option=com_chronoforms&chronoform=test&event=page%20two&cf_sid=b3a07e0abcda98e3f312bcd0c5d36084
there is either one or two borrowers and I need to turn off the second borrowers fields when only one borrower is selected.
I thought I had cracked it when I found the tutorial http://www.chronoengine.com/forums.html?cont=posts&f=5&t=88919&p=308946&hilit=hidden#p308946
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
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
This topic is locked and no more replies can be posted.