Your idea is so fucking flawed and has been proven wrong multiple times in this thread
All that "proof" revolved around stripping out parts of html.
Can you either post some pseudocode or at least conceptually explain how you would figure out which fields are hidden and which aren't?
Assuming that everything can be randomized, and as a result there aren't any ways of mapping certain chunks of html to their function.
The only way to do that would be to actually render the page (with all dependencies, images, external styles, etc.) and then try to figure out which of the visible fields correspond to which html input elements in the form -- without knowing anything about the layout.
That's like face recognition for web pages.
So far, aside from a couple of people who actually seem to know their shit, all responses were nonsense made by script kiddies who don't seem to appreciate (or even be able to grasp) the conceptual difficulty of this problem.
If people want to spam your forum, they are going to spam your forum. Deal with it.
I am dealing with it. But this thread has nothing to do with my "dealing with it".
You know, some people play chess, some solve puzzles, some read jokes. That's called a recreational activity. This thread isn't much different.
If some practical solution arises that's great, if not, that's fine too. Is it really so hard to understand?