Is there a way that I can have a certain text box appear based on a selection in a radio list (dropdown is fine too)? Basically, this is what I am doing:
First question is: Do you have a valid US Passport
if Yes:
2 Textboxes appear:
1: Passport Number
2. Passport Expiration Date (Date Picker)
If No:
1 Textbox appears (with a date picker)
1. Application Date
Can this be done? And if so, how? I am having a difficult time understanding the difference between this and a regular form as far as the coding. When I would do a regular HTML form, I could do it with JS, but it was a table row was hidden or visible. I am very new to CF, so I am trying to implement everything I can do in HTML/JS very quickly. If this CANNOT be done, is there another alternative (i.e. based on the selection I go to another form upon submit). I would much rather have to radio button display the textboxes. Thanks in advance.
First question is: Do you have a valid US Passport
if Yes:
2 Textboxes appear:
1: Passport Number
2. Passport Expiration Date (Date Picker)
If No:
1 Textbox appears (with a date picker)
1. Application Date
Can this be done? And if so, how? I am having a difficult time understanding the difference between this and a regular form as far as the coding. When I would do a regular HTML form, I could do it with JS, but it was a table row was hidden or visible. I am very new to CF, so I am trying to implement everything I can do in HTML/JS very quickly. If this CANNOT be done, is there another alternative (i.e. based on the selection I go to another form upon submit). I would much rather have to radio button display the textboxes. Thanks in advance.