Even if it works, you cannot nest form tags.
If it works, I guess I CAN nest forms.
I have code in production for years with nested forms much more complicated than this. I am not worried about this project, but now I have to go back and fix the code that shouldnt work.
It's hard to tell with the code you posted, especially when you use the term "surrounded by". The code you posted should show 10 buttons labeled google 1-9, then yahoo.
It does show 10 buttons in total. The first and 10th buttons do not function like I would expect them to. The first button, google 1, goest to yahoo.com rather than to google.com. The last button, does nothing because it is never within the html form tags after coldfusion generates the html. It is within the cfform tags, but not the html form tags. I use the inspect feature in chrome and can see the html that is being generated contradicts the cfml. Throw it in a cfm file and run it. Then, inspect each button. I am really curious why this happens.
I can make my page do something else, and I probably will rather than nesting the form tags. I am glad I stumbled upon this because maybe I can save myself some headache later on. However, there are conflicting reports online whether you can nest the cfform tags. I hear it wont work in html, and other I hear do it regularly.