I'm putting a form together that contains a set of radio buttons. Each of the buttons has an onclick handler that does "form.submit(this)" -- it just tells that page to call back to itself so that it can redisplay its contents in a way determined by the radio button that was clicked. There will not be a "submit" button in the form itself.
This works, but, when the form is submitted, I get the "The form has become outdated..." message. I've found some other posts that suggested removing the #token field from the form; I've done that, and, while I no longer get the "outdated" message, I can see that the form process is taking a second pass through my form's after_build function. This makes me a bit suspicious about the possibility that I'm outsmarting myself here.
Any thoughts about this? Is there a better way to do what I'm trying to do?