Hello,
I am trying to create a feature that adds additional form inputs after clicking a button. I am using this tutorial: https://www.chronoengine.com/faqs/58-cfv4/cfv4-elements-and-html/2700-how-can-i-have-a-button-to-add-more-form-inputs.html. I have done everything like in the article, but a JavaScript added in Load JS action doesn't work. When I test my form I see all 5 pairs of input and 4 buttons immediately.
Using a web inspector i see an error: "window.addEvent is not a function"
What am I doing wrong?
Thank you in advance for your help.
I am trying to create a feature that adds additional form inputs after clicking a button. I am using this tutorial: https://www.chronoengine.com/faqs/58-cfv4/cfv4-elements-and-html/2700-how-can-i-have-a-button-to-add-more-form-inputs.html. I have done everything like in the article, but a JavaScript added in Load JS action doesn't work. When I test my form I see all 5 pairs of input and 4 buttons immediately.
Using a web inspector i see an error: "window.addEvent is not a function"
What am I doing wrong?
Thank you in advance for your help.