Please use code tags. Please use English, including proper punctuation, spelling, and grammer, as far as possible.
I personally found your message incomprehensible... what does "used the onsubmit and onradiochanged both give errors function not part of form" mean??
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
But, what is your actual question? It's lost in run-on sentences and code postings.
Going just from your thread title: you can set the action tag of a form by retrieving the form (the method depends of course on your DOCTYPE), and setting the "action" attribute to a string.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37